forked from OSchip/llvm-project
Add a testcase that we already get right but was not being tested. Found
by a chrome build on OS X. Thanks to Nico Weber for testing a patch and providing the .ii file. llvm-svn: 155326
This commit is contained in:
parent
bf7d5666f0
commit
cba4879534
|
@ -672,3 +672,13 @@ namespace test33 {
|
|||
// CHECK: define weak_odr void @_ZN6test333fooINS_3zedEE3barEv
|
||||
// CHECK-HIDDEN: define weak_odr void @_ZN6test333fooINS_3zedEE3barEv
|
||||
}
|
||||
|
||||
namespace test34 {
|
||||
struct foo {
|
||||
};
|
||||
template<class T>
|
||||
void bar() {}
|
||||
template DEFAULT void bar<foo>();
|
||||
// CHECK: define weak_odr void @_ZN6test343barINS_3fooEEEvv
|
||||
// CHECK-HIDDEN: define weak_odr void @_ZN6test343barINS_3fooEEEvv
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue