aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.4.3/gcc/testsuite/g++.dg/tc1/dr194.C
blob: 3ed130071eb8902e43fc3df54f1496493d87267c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// { dg-do compile }
// Origin: Giovanni Bajo <giovannibajo at gcc dot gnu dot org>
// DR194: Identifying constructors 

struct A
{
  inline explicit A();
};

template <class>
struct B
{
  inline explicit B();
};

template struct B<void>;