summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp0x/defaulted18.C
blob: 559dfde48332d94fdd8fb71eb5779cbb3ca65018 (plain)
1
2
3
4
5
6
7
8
9
10
// { dg-options "-std=c++0x" }

void f(char i, int j) = delete;	// { dg-message "<deleted>" }
void f(int i, ...);		// { dg-message "void f" }

int main()
{
  f(1,1);			// { dg-error "ambiguous" }
  // { dg-message "candidate" "candidate note" { target *-*-* } 8 }
}