r185565 - Enable -ffreestanding for this test, to avoid #include_next'ing the system's

Richard Smith richard-llvm at metafoo.co.uk
Wed Jul 3 11:35:53 PDT 2013


Author: rsmith
Date: Wed Jul  3 13:35:53 2013
New Revision: 185565

URL: http://llvm.org/viewvc/llvm-project?rev=185565&view=rev
Log:
Enable -ffreestanding for this test, to avoid #include_next'ing the system's
<stdint.h> (which might not exist or might not work).

Modified:
    cfe/trunk/test/Headers/cxx11.cpp

Modified: cfe/trunk/test/Headers/cxx11.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Headers/cxx11.cpp?rev=185565&r1=185564&r2=185565&view=diff
==============================================================================
--- cfe/trunk/test/Headers/cxx11.cpp (original)
+++ cfe/trunk/test/Headers/cxx11.cpp Wed Jul  3 13:35:53 2013
@@ -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>
 





More information about the cfe-commits mailing list