From: Erik Pilkington Date: Wed, 13 Mar 2019 19:20:45 +0000 (+0000) Subject: Fix a failing test. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c4105ffd06192653948321386400f72449e93a5b;p=clang Fix a failing test. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@356087 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Parser/pragma-attribute-context.cpp b/test/Parser/pragma-attribute-context.cpp index eab4395a5b..3ec5a67f4c 100644 --- a/test/Parser/pragma-attribute-context.cpp +++ b/test/Parser/pragma-attribute-context.cpp @@ -1,5 +1,5 @@ -// RUN: %clang_cc1 -verify -std=c++11 %s -// RUN: %clang_cc1 -xobjective-c++ -verify -std=c++11 %s +// RUN: %clang_cc1 -triple x86_64-apple-darwin9.0.0 -verify -std=c++11 %s +// RUN: %clang_cc1 -triple x86_64-apple-darwin9.0.0 -xobjective-c++ -verify -std=c++11 %s #define BEGIN_PRAGMA _Pragma("clang attribute push (__attribute__((availability(macos, introduced=1000))), apply_to=function)") #define END_PRAGMA _Pragma("clang attribute pop")