PR c++/85262 - ICE with redundant qualification on constructor.
[official-gcc.git] / gcc / testsuite / g++.dg / parse / args1.C
blob83112fd56f49afcd09bd9c7a4aa495d0c7838b5a
1 // { dg-do compile }
3 // Copyright (C) 2003 Free Software Foundation, Inc.
4 // Contributed by Nathan Sidwell 9 Jul 2003 <nathan@codesourcery.com>
6 // PR c++ 11050. Accepted ill-formed
9 void Foo (int)
11   Foo(2 2); // { dg-error "expected" }