From: Reid Kleckner Date: Fri, 21 Jun 2019 22:28:52 +0000 (+0000) Subject: Fix has_attribute.cpp test on Windows after r364102 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4d3ceb1150c4d967df9aef96ade7f8e0b5e401e9;p=clang Fix has_attribute.cpp test on Windows after r364102 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@364108 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Preprocessor/has_attribute.cpp b/test/Preprocessor/has_attribute.cpp index 30544f2194..d35b673e68 100644 --- a/test/Preprocessor/has_attribute.cpp +++ b/test/Preprocessor/has_attribute.cpp @@ -1,5 +1,5 @@ -// RUN: %clang_cc1 -triple i386-unknown-unknown -fms-compatibility -std=c++11 -E %s -o - | FileCheck %s --check-prefixes=CHECK,ITANIUM --implicit-check-not=: -// RUN: %clang_cc1 -triple i386-windows -fms-compatibility -std=c++11 -E %s -o - | FileCheck %s --check-prefixes=CHECK,WINDOWS --implicit-check-not=: +// RUN: %clang_cc1 -triple i386-unknown-unknown -fms-compatibility -std=c++11 -E -P %s -o - | FileCheck %s --check-prefixes=CHECK,ITANIUM --implicit-check-not=: +// RUN: %clang_cc1 -triple i386-windows -fms-compatibility -std=c++11 -E -P %s -o - | FileCheck %s --check-prefixes=CHECK,WINDOWS --implicit-check-not=: #define CXX11(x) x: __has_cpp_attribute(x)