From 536f8e3da2d11d10868743ffd4ea69bd67c4f6f0 Mon Sep 17 00:00:00 2001 From: Leonard Chan Date: Sun, 12 May 2019 22:44:46 +0000 Subject: [PATCH] Fix test to use -cc1. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@360548 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/{Driver => Sema}/mingw-macro-qualified-type.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) rename test/{Driver => Sema}/mingw-macro-qualified-type.c (81%) diff --git a/test/Driver/mingw-macro-qualified-type.c b/test/Sema/mingw-macro-qualified-type.c similarity index 81% rename from test/Driver/mingw-macro-qualified-type.c rename to test/Sema/mingw-macro-qualified-type.c index 43b744b7e2..3e10c17f26 100644 --- a/test/Driver/mingw-macro-qualified-type.c +++ b/test/Sema/mingw-macro-qualified-type.c @@ -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; -- 2.40.0