blob: 0eb6e64b6346f4470d582b4cbd26b6c69ee8b2fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// { 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" "" }
}
|