]> granicus.if.org Git - clang/commitdiff
Fix a failing test.
authorErik Pilkington <erik.pilkington@gmail.com>
Wed, 13 Mar 2019 19:20:45 +0000 (19:20 +0000)
committerErik Pilkington <erik.pilkington@gmail.com>
Wed, 13 Mar 2019 19:20:45 +0000 (19:20 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@356087 91177308-0d34-0410-b5e6-96231b3b80d8

test/Parser/pragma-attribute-context.cpp

index eab4395a5b3f7065f7db5a25e51b86a06523e794..3ec5a67f4c351140dfbebcc02cea0e68b30b9683 100644 (file)
@@ -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")