r205920 - Add a -triple argument so that this new test passes on Darwin.

Bob Wilson bob.wilson at apple.com
Wed Apr 9 11:51:19 PDT 2014


Author: bwilson
Date: Wed Apr  9 13:51:19 2014
New Revision: 205920

URL: http://llvm.org/viewvc/llvm-project?rev=205920&view=rev
Log:
Add a -triple argument so that this new test passes on Darwin.

The section names used here are not valid for Mach-O.

Modified:
    cfe/trunk/test/Sema/pragma-section.c

Modified: cfe/trunk/test/Sema/pragma-section.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Sema/pragma-section.c?rev=205920&r1=205919&r2=205920&view=diff
==============================================================================
--- cfe/trunk/test/Sema/pragma-section.c (original)
+++ cfe/trunk/test/Sema/pragma-section.c Wed Apr  9 13:51:19 2014
@@ -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;





More information about the cfe-commits mailing list