OSDN Git Service

2010-01-26 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / parse / error3.C
1 // { dg-options "-fshow-column" }
2 // PR c++/10779
3
4 static void InstantiateConstraint(const float&, unsigned,
5                                   void(*AddFunction)(const TYPE&,bool&,
6                                                      char*, char*,
7                                                      unsigned*));
8 // { dg-error "64: ISO C\\+\\+ forbids declaration of 'parameter' with no type" "" { target *-*-* }  { 5 } }
9 // { dg-error "60: 'TYPE' does not name a type" "" { target *-*-* } { 5 } }