diff options
-rw-r--r-- | test/Headers/unwind.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/test/Headers/unwind.c b/test/Headers/unwind.c index 2aec9d4c2d..b2a9265d5f 100644 --- a/test/Headers/unwind.c +++ b/test/Headers/unwind.c @@ -1,6 +1,5 @@ -// RUN: %clang -target arm-unknown-linux-gnueabi %s -fsyntax-only -o - -// RUN: %clang -target i686-unknown-linux %s -fsyntax-only -o - +// RUN: %clang -target arm-unknown-linux-gnueabi -ffreestanding -fsyntax-only %s +// RUN: %clang -target i686-unknown-linux -ffreestanding -fsyntax-only %s +// RUN: %clang -ffreestanding -fsyntax-only -x c++ %s #include "unwind.h" -// CHECK-NOT: error -// CHECK-NOT: warning |