Thanks! On Sun, Apr 22, 2012 at 3:31 PM, Rafael Espindola <[email protected]> wrote: > Author: rafael > Date: Sun Apr 22 17:31:25 2012 > New Revision: 155326 > > URL: http://llvm.org/viewvc/llvm-project?rev=155326&view=rev > Log: > 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. > > 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=155326&r1=155325&r2=155326&view=diff > ============================================================================== > --- cfe/trunk/test/CodeGenCXX/visibility.cpp (original) > +++ cfe/trunk/test/CodeGenCXX/visibility.cpp Sun Apr 22 17:31:25 2012 > @@ -672,3 +672,13 @@ > // 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 > +} > > > _______________________________________________ > cfe-commits mailing list > [email protected] > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
