summaryrefslogtreecommitdiff
path: root/test/CodeGen/default-function-attr.c
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2019-01-04 20:51:54 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2019-01-04 20:51:54 +0000
commita615149ee4fd2b6d97dc029c8827e42b025e1379 (patch)
tree14ae155d1871d3405c84e93eb7bd5163e23027e3 /test/CodeGen/default-function-attr.c
parentb4ac732910ee32d004284aaa0632e5bb2fecc5fd (diff)
downloadclang-a615149ee4fd2b6d97dc029c8827e42b025e1379.tar.gz
Fix default-function-attr.c so that it works on Windows.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@350433 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/default-function-attr.c')
-rw-r--r--test/CodeGen/default-function-attr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/CodeGen/default-function-attr.c b/test/CodeGen/default-function-attr.c
index b0d1398a15..1c186e8e55 100644
--- a/test/CodeGen/default-function-attr.c
+++ b/test/CodeGen/default-function-attr.c
@@ -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() {}