Debian Codegraph @

gcc/testsuite/g++.dg/parse/args1.C

raw
1 // { dg-do compile }
2
3 // Copyright (C) 2003 Free Software Foundation, Inc.
4 // Contributed by Nathan Sidwell 9 Jul 2003 <[email protected]>
5
6 // PR c++ 11050. Accepted ill-formed
7
8
9 void Foo (int)
10 {
11 Foo(2 2); // { dg-error "expected" }
12 }