repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge reload-branch up to revision 101000
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
parse
/
args1.C
blob
0eb6e64b6346f4470d582b4cbd26b6c69ee8b2fc
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
9
void Foo (int)
10
{
11
Foo(2 2); // { dg-error "expected" "" }
12
}