summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/thunks.cpp
diff options
context:
space:
mode:
authorJohn McCall <rjmccall@apple.com>2012-01-29 01:20:30 +0000
committerJohn McCall <rjmccall@apple.com>2012-01-29 01:20:30 +0000
commiteed64c77d27f0b442346c35aa5cadb774ae193d4 (patch)
tree0e384ca3b92abc799cb07117ed388030ccfeacb6 /clang/test/CodeGenCXX/thunks.cpp
parent1b3167edec7b2c34645324f4dbce5b0d9c2afcb0 (diff)
downloadbcm5719-llvm-eed64c77d27f0b442346c35aa5cadb774ae193d4.tar.gz
bcm5719-llvm-eed64c77d27f0b442346c35aa5cadb774ae193d4.zip
Complain about attempts to use 'protected' visibility on targets
like Darwin that don't support it. We should also complain about invalid -fvisibility=protected, but that information doesn't seem to exist at the most appropriate time, so I've left a FIXME behind. llvm-svn: 149186
Diffstat (limited to 'clang/test/CodeGenCXX/thunks.cpp')
-rw-r--r--clang/test/CodeGenCXX/thunks.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGenCXX/thunks.cpp b/clang/test/CodeGenCXX/thunks.cpp
index 7c80b96b794..04d0820da7a 100644
--- a/clang/test/CodeGenCXX/thunks.cpp
+++ b/clang/test/CodeGenCXX/thunks.cpp
@@ -1,5 +1,5 @@
-// RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s
-// RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -fhidden-weak-vtables -emit-llvm -o - | FileCheck -check-prefix=HIDDEN %s
+// RUN: %clang_cc1 %s -triple=x86_64-pc-linux-gnu -emit-llvm -o - | FileCheck %s
+// RUN: %clang_cc1 %s -triple=x86_64-pc-linux-gnu -fhidden-weak-vtables -emit-llvm -o - | FileCheck -check-prefix=HIDDEN %s
namespace Test1 {
OpenPOWER on IntegriCloud