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

static void InstantiateConstraint(const float&, unsigned,
                                  void(*AddFunction)(const TYPE&,bool&,
                                                     char*, char*,
                                                     unsigned*));
// { dg-error "60: 'TYPE' does not name a type" "does not" { target *-*-* } { 5 } }