From 83e539b75c8d17e0fc9289e25a744b433774ede8 Mon Sep 17 00:00:00 2001 From: Erik Pilkington Date: Wed, 13 Mar 2019 19:20:45 +0000 Subject: [PATCH] Fix a failing test. llvm-svn: 356087 --- clang/test/Parser/pragma-attribute-context.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clang/test/Parser/pragma-attribute-context.cpp b/clang/test/Parser/pragma-attribute-context.cpp index eab4395..3ec5a67 100644 --- a/clang/test/Parser/pragma-attribute-context.cpp +++ b/clang/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") -- 2.7.4