Run test in a freestanding environment so it doesn't accidentally pick up system headers for the wrong target.
While there add a test that verifies that the header parses in C++ mode. llvm-svn: 164679
This commit is contained in:
parent
c05ecd5b17
commit
010f114093
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue