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

// Allow other errors, too
// { dg-prune-output "error" }

void f(double);
int main()
{
  f({{1}});			// { dg-error "too many braces" }
}