[cfe-commits] r155304 - /cfe/trunk/test/CodeGenCXX/visibility.cpp
Rafael Espindola
rafael.espindola at gmail.com
Sat Apr 21 19:41:22 PDT 2012
Author: rafael
Date: Sat Apr 21 21:41:22 2012
New Revision: 155304
URL: http://llvm.org/viewvc/llvm-project?rev=155304&view=rev
Log:
Add another missing 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=155304&r1=155303&r2=155304&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/visibility.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/visibility.cpp Sat Apr 21 21:41:22 2012
@@ -644,3 +644,15 @@
// CHECK: declare void @_ZN6test311A1B3bazEv()
// CHECK-HIDDEN: declare void @_ZN6test311A1B3bazEv()
}
+
+namespace test32 {
+ struct HIDDEN A {
+ struct DEFAULT B {
+ void DEFAULT baz();
+ };
+ };
+ void A::B::baz() {
+ }
+ // CHECK: define void @_ZN6test321A1B3bazEv
+ // CHECK-HIDDEN: define void @_ZN6test321A1B3bazEv
+}
More information about the cfe-commits
mailing list