]> granicus.if.org Git - clang/commitdiff
Enable -ffreestanding for this test, to avoid #include_next'ing the system's
authorRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 3 Jul 2013 18:35:53 +0000 (18:35 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Wed, 3 Jul 2013 18:35:53 +0000 (18:35 +0000)
<stdint.h> (which might not exist or might not work).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@185565 91177308-0d34-0410-b5e6-96231b3b80d8

test/Headers/cxx11.cpp

index 54fe350ea5b20f2dac03100ad097762c25fc18ae..fa37be3b516c7f544394d8fce16d942ec8a66687 100644 (file)
@@ -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>