summaryrefslogtreecommitdiffstats
path: root/clang/test/Headers/cxx11.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2013-07-03 18:35:53 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2013-07-03 18:35:53 +0000
commita9d6a0e1f866f3f55bfbc462c916c0c1d18b5ece (patch)
tree3f9619fcd98df99ddba31d43ffee41caa4af86d3 /clang/test/Headers/cxx11.cpp
parent2542b3b17f2cfe58a825110039dc9bf224bec0be (diff)
downloadbcm5719-llvm-a9d6a0e1f866f3f55bfbc462c916c0c1d18b5ece.tar.gz
bcm5719-llvm-a9d6a0e1f866f3f55bfbc462c916c0c1d18b5ece.zip
Enable -ffreestanding for this test, to avoid #include_next'ing the system's
<stdint.h> (which might not exist or might not work). llvm-svn: 185565
Diffstat (limited to 'clang/test/Headers/cxx11.cpp')
-rw-r--r--clang/test/Headers/cxx11.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/Headers/cxx11.cpp b/clang/test/Headers/cxx11.cpp
index 54fe350ea5b..fa37be3b516 100644
--- a/clang/test/Headers/cxx11.cpp
+++ b/clang/test/Headers/cxx11.cpp
@@ -1,5 +1,5 @@
-// RUN: %clang -fsyntax-only -std=c++11 %s
-// RUN: %clang -fsyntax-only -std=c++11 -fmodules %s
+// RUN: %clang -ffreestanding -fsyntax-only -std=c++11 %s
+// RUN: %clang -ffreestanding -fsyntax-only -std=c++11 -fmodules %s
#include <stdalign.h>
OpenPOWER on IntegriCloud