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
PR c++/85262 - ICE with redundant qualification on constructor.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
parse
/
args1.C
blob
83112fd56f49afcd09bd9c7a4aa495d0c7838b5a
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
}