aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/parse/error3.C
blob: 55ae024d41269ab0ef3860842f4b68f9c4b6bd2a (plain)
1
2
3
4
5
6
7
8
9
// { dg-options "-fshow-column" }
// PR c++/10779

static void InstantiateConstraint(const float&, unsigned,
                                  void(*AddFunction)(const TYPE&,bool&,
                                                     char*, char*,
                                                     unsigned*));
// { dg-error "64:expected ',' or '...' before '&' token" "" { target *-*-* }  { 5 } }
// { dg-error "60:ISO C\\+\\+ forbids declaration of 'TYPE' with no type" "" { target *-*-* } { 5 } }