diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2012-04-22 02:41:22 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2012-04-22 02:41:22 +0000 |
commit | a77e0726341a4afbe9c25b05cf944edf17f64543 (patch) | |
tree | af95747a3e750aba26a0b08e6293fd085eb84303 | |
parent | 6e21b16ab226959341b85e16060fd81f71cee628 (diff) |
Add another missing testcase.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155304 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/CodeGenCXX/visibility.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/CodeGenCXX/visibility.cpp b/test/CodeGenCXX/visibility.cpp index 808b7ffff6..c73f3f7164 100644 --- a/test/CodeGenCXX/visibility.cpp +++ b/test/CodeGenCXX/visibility.cpp @@ -644,3 +644,15 @@ namespace test31 { // 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 +} |