]> granicus.if.org Git - clang/commitdiff
test: add missing triple to test
authorSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 17 Jul 2016 22:54:42 +0000 (22:54 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 17 Jul 2016 22:54:42 +0000 (22:54 +0000)
The test was relying on the default triple which may not be correct.  Explicitly
provide it a triple.  Should repair the windows on Linux builder.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@275738 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGenObjC/hidden-visibility.m

index 9f5071d5ffaa97fc63136fbcae23c9eba2715da6..cb23ca18f81fc810db1453258d772c2d11fe626f 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: %clang_cc1 -fvisibility hidden -emit-llvm -o - %s | FileCheck %s
+// RUN: %clang_cc1 -triple i386-apple-macosx -fvisibility hidden -emit-llvm -o - %s | FileCheck %s
 // CHECK: @"OBJC_IVAR_$_I.P" = hidden
 // CHECK: @"OBJC_CLASS_$_I" = hidden
 // CHECK: @"OBJC_METACLASS_$_I" = hidden