]> granicus.if.org Git - clang/commitdiff
Add a -triple argument so that this new test passes on Darwin.
authorBob Wilson <bob.wilson@apple.com>
Wed, 9 Apr 2014 18:51:19 +0000 (18:51 +0000)
committerBob Wilson <bob.wilson@apple.com>
Wed, 9 Apr 2014 18:51:19 +0000 (18:51 +0000)
The section names used here are not valid for Mach-O.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@205920 91177308-0d34-0410-b5e6-96231b3b80d8

test/Sema/pragma-section.c

index 3b6147b093c6e92da51d6369d751d549cc6cab6a..02f3e77112f0b652a8b45126bea0316d36783067 100644 (file)
@@ -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;