summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2014-04-09 18:51:19 +0000
committerBob Wilson <bob.wilson@apple.com>2014-04-09 18:51:19 +0000
commit0e011f201d2305630eef47510048378e55010d34 (patch)
treef7f3b19bedad85ed796bef422716c3a1d3dc4755 /clang
parent7004b8c07c3bf5f4b28d336b4521d4e127ef026f (diff)
downloadbcm5719-llvm-0e011f201d2305630eef47510048378e55010d34.tar.gz
bcm5719-llvm-0e011f201d2305630eef47510048378e55010d34.zip
Add a -triple argument so that this new test passes on Darwin.
The section names used here are not valid for Mach-O. llvm-svn: 205920
Diffstat (limited to 'clang')
-rw-r--r--clang/test/Sema/pragma-section.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Sema/pragma-section.c b/clang/test/Sema/pragma-section.c
index 3b6147b093c..02f3e77112f 100644
--- a/clang/test/Sema/pragma-section.c
+++ b/clang/test/Sema/pragma-section.c
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fsyntax-only -verify -fms-extensions %s
+// RUN: %clang_cc1 -fsyntax-only -verify -fms-extensions %s -triple x86_64-pc-win32
#pragma const_seg(".my_const") // expected-note 2 {{#pragma entered here}}
extern const int a;
OpenPOWER on IntegriCloud