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