summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/crash29.C
blob: cbcfcf5c85a907712dc2d8921190e7a3ac13f67f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// { dg-do assemble  }
// Origin: Jakub Jelinek <jakub@redhat.com>

class bar
{
public:
  void foo ();
  void baz ();
};
void bar::foo ()
{
  baz x();			// { dg-error "" } 
}