Debian Codegraph @

gcc/testsuite/g++.dg/ext/complit14.C

raw
1 // PR c++/61614
2 // { dg-options "" }
3
4 int Fn (...);
5
6 void
7 Test ()
8 {
9 int j = Fn ((const int[]) { 0 }); // OK
10 unsigned long sz = sizeof Fn ((const int[]) { 0 }); // Error
11 }