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++/85553
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
defaulted18.C
blob
83e1126dc08b1814323cfb0b15ec826d7a25d24c
1
// { dg-do compile { target c++11 } }
2
3
void f(char i, int j) = delete; // { dg-message "<deleted>" }
4
void f(int i, ...); // { dg-message "void f" }
5
6
int main()
7
{
8
f(1,1); // { dg-error "ambiguous" }
9
}