Add another missing testcase.

llvm-svn: 155304
This commit is contained in:
Rafael Espindola 2012-04-22 02:41:22 +00:00
parent e85e176600
commit fae3f908d8
1 changed files with 12 additions and 0 deletions

View File

@ -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
}