]> granicus.if.org Git - clang/commitdiff
Use -ffreestanding with clang_cc1 to make the test picks the clang builtin include.
authorFrancois Pichet <pichet2000@gmail.com>
Fri, 22 Jul 2011 10:49:54 +0000 (10:49 +0000)
committerFrancois Pichet <pichet2000@gmail.com>
Fri, 22 Jul 2011 10:49:54 +0000 (10:49 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@135766 91177308-0d34-0410-b5e6-96231b3b80d8

test/Headers/wchar_limits.cpp

index 93caab8e4f05d034b3db9b62051d78e5701275f0..f4b3541dbd8ed97a634c4f63bb43974827696cb9 100644 (file)
@@ -1,5 +1,5 @@
-// RUN: %clang -fsyntax-only -verify %s
-// RUN: %clang -fsyntax-only -verify -fshort-wchar %s
+// RUN: %clang_cc1 -ffreestanding -fsyntax-only -verify %s
+// RUN: %clang_cc1 -ffreestanding -fsyntax-only -verify -fshort-wchar %s
 
 #include <limits.h>