summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/ext/pr47213.C
blob: 193007e8353570e15c4705505d6ed8a5ab9f3dfa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// { dg-do compile }
// { dg-require-visibility "" }
// { dg-options "-fvisibility-ms-compat" }
#include <typeinfo>

template < typename T > void
bar ()
{
  typeid (T);
}

void
foo ()
{
  bar < int () > ();
}