]> granicus.if.org Git - clang/commitdiff
Fix test to use -cc1.
authorLeonard Chan <leonardchan@google.com>
Sun, 12 May 2019 22:44:46 +0000 (22:44 +0000)
committerLeonard Chan <leonardchan@google.com>
Sun, 12 May 2019 22:44:46 +0000 (22:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@360548 91177308-0d34-0410-b5e6-96231b3b80d8

test/Sema/mingw-macro-qualified-type.c [moved from test/Driver/mingw-macro-qualified-type.c with 81% similarity]

similarity index 81%
rename from test/Driver/mingw-macro-qualified-type.c
rename to test/Sema/mingw-macro-qualified-type.c
index 43b744b7e22b9de5c92479af8f46302cca9de6c2..3e10c17f261d8076de43194974bcea9c3cead4fc 100644 (file)
@@ -1,7 +1,8 @@
 // Ensure that builtin attributes do not get treated as user defined macros to
 // be weapped in macro qualified types. This addresses P41852.
 //
-// RUN: %clang -c %s -target i686-w64-mingw32
+// RUN: %clang_cc1 %s -triple i686-w64-mingw32 -fsyntax-only -verify
+// expected-no-diagnostics
 
 typedef int WINBOOL;
 typedef unsigned int UINT_PTR, *PUINT_PTR;