Debian Codegraph @

gcc/testsuite/g++.dg/ext/pr47213.C

raw
1 // { dg-do compile }
2 // { dg-require-visibility "" }
3 // { dg-options "-fvisibility-ms-compat" }
4 #include <typeinfo>
5
6 template < typename T > void
7 bar ()
8 {
9 typeid (T);
10 }
11
12 void
13 foo ()
14 {
15 bar < int () > ();
16 }