r350433 - Fix default-function-attr.c so that it works on Windows.
Peter Collingbourne via cfe-commits
cfe-commits at lists.llvm.org
Fri Jan 4 12:51:54 PST 2019
Author: pcc
Date: Fri Jan 4 12:51:54 2019
New Revision: 350433
URL: http://llvm.org/viewvc/llvm-project?rev=350433&view=rev
Log:
Fix default-function-attr.c so that it works on Windows.
Modified:
cfe/trunk/test/CodeGen/default-function-attr.c
Modified: cfe/trunk/test/CodeGen/default-function-attr.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/default-function-attr.c?rev=350433&r1=350432&r2=350433&view=diff
==============================================================================
--- cfe/trunk/test/CodeGen/default-function-attr.c (original)
+++ cfe/trunk/test/CodeGen/default-function-attr.c Fri Jan 4 12:51:54 2019
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -default-function-attr foo=bar -emit-llvm %s -o - | FileCheck %s
+// RUN: %clang_cc1 -triple x86_64-unknown-linux -default-function-attr foo=bar -emit-llvm %s -o - | FileCheck %s
// CHECK: define void @foo() #[[X:[0-9]+]]
void foo() {}
More information about the cfe-commits
mailing list