aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/g++.dg/ext/complit14.C
blob: aed765dc55de80f1c26b1ec5a0816821b111e8db (plain)
1
2
3
4
5
6
7
8
9
10
11
// PR c++/61614
// { dg-options "" }

int Fn (...);

void
Test ()
{
  int j = Fn ((const int[]) { 0 });                    // OK
  unsigned long sz = sizeof Fn ((const int[]) { 0 });  // Error
}