From 71776efce59509b127a02f385c3df9686b852d62 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Sun, 22 Apr 2012 16:03:00 +0000 Subject: [PATCH] Cleanup testcase. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155317 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGenCXX/visibility.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 } -- 2.40.0