From 1768205cd3c719373048f06d3f79a7f8048d3a93 Mon Sep 17 00:00:00 2001 From: Bob Wilson Date: Wed, 9 Apr 2014 18:51:19 +0000 Subject: [PATCH] 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 --- test/Sema/pragma-section.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.40.0