[cfe-commits] r155317 - /cfe/trunk/test/CodeGenCXX/visibility.cpp

Rafael Espindola rafael.espindola at gmail.com
Sun Apr 22 09:03:00 PDT 2012


Author: rafael
Date: Sun Apr 22 11:03:00 2012
New Revision: 155317

URL: http://llvm.org/viewvc/llvm-project?rev=155317&view=rev
Log:
Cleanup testcase.

Modified:
    cfe/trunk/test/CodeGenCXX/visibility.cpp

Modified: cfe/trunk/test/CodeGenCXX/visibility.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/visibility.cpp?rev=155317&r1=155316&r2=155317&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/visibility.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/visibility.cpp Sun Apr 22 11:03:00 2012
@@ -665,11 +665,10 @@
   template<typename T>
   class foo {
     void bar() {}
-    int a;
   };
-  struct __attribute__((visibility("hidden"))) zed {
+  struct HIDDEN zed {
   };
-  template class __attribute__((visibility("default"))) foo<zed>;
+  template class DEFAULT foo<zed>;
   // CHECK: define weak_odr void @_ZN6test333fooINS_3zedEE3barEv
   // CHECK-HIDDEN: define weak_odr void @_ZN6test333fooINS_3zedEE3barEv
 }





More information about the cfe-commits mailing list