From: Bob Wilson Date: Wed, 9 Apr 2014 18:51:19 +0000 (+0000) Subject: Add a -triple argument so that this new test passes on Darwin. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1768205cd3c719373048f06d3f79a7f8048d3a93;p=clang Add a -triple argument so that this new test passes on Darwin. 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 --- diff --git a/test/Sema/pragma-section.c b/test/Sema/pragma-section.c index 3b6147b093..02f3e77112 100644 --- a/test/Sema/pragma-section.c +++ b/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;