summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/pr77812.C
blob: 94f17402a4e1a61cb63e87cb39c68e04d4f4a1d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// PR77812
// struct-stat hack failure when first overload is a template

enum f {};

template <typename>
void f ()
{
}
enum f F;

struct g {};

template <typename>
void g ()
{
}
struct g G;