Fix rdar-13338477 test-case for Linux.

- Using __builtin_trap confuses the stack unwinder
- __builtin_trap specific test will be added shortly

llvm-svn: 181441
This commit is contained in:
Daniel Malea 2013-05-08 15:07:24 +00:00
parent 8e110ce57c
commit 32052b62ae
1 changed files with 3 additions and 3 deletions

View File

@ -7,11 +7,11 @@
//
//===----------------------------------------------------------------------===//
void bar(int const *foo) {
__builtin_trap(); // Set break point at this line.
bool bar(int const *foo) {
return foo != 0; // Set break point at this line.
}
int main() {
int foo[] = {1,2,3};
bar(foo);
return bar(foo);
}