From: Rafael Espindola Date: Sun, 22 Apr 2012 16:03:00 +0000 (+0000) Subject: Cleanup testcase. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=71776efce59509b127a02f385c3df9686b852d62;p=clang Cleanup testcase. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155317 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGenCXX/visibility.cpp b/test/CodeGenCXX/visibility.cpp index 4199abbc48..27923c5f8a 100644 --- a/test/CodeGenCXX/visibility.cpp +++ b/test/CodeGenCXX/visibility.cpp @@ -665,11 +665,10 @@ namespace test33 { template class foo { void bar() {} - int a; }; - struct __attribute__((visibility("hidden"))) zed { + struct HIDDEN zed { }; - template class __attribute__((visibility("default"))) foo; + template class DEFAULT foo; // CHECK: define weak_odr void @_ZN6test333fooINS_3zedEE3barEv // CHECK-HIDDEN: define weak_odr void @_ZN6test333fooINS_3zedEE3barEv }