Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
args1.C
blob: 83112fd56f49afcd09bd9c7a4aa495d0c7838b5a [
file
] [
log
] [
blame
]
// { dg-do compile }
// Copyright (C) 2003 Free Software Foundation, Inc.
// Contributed by Nathan Sidwell 9 Jul 2003 <nathan@codesourcery.com>
// PR c++ 11050. Accepted ill-formed
void
Foo
(
int
)
{
Foo
(
2
2
);
// { dg-error "expected" }
}