OSDN Git Service

2012-06-14 Richard Guenther <rguenther@suse.de>
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / g++.dg / ext / stmtexpr6.C
1 // { dg-do run }
2 // { dg-options "" }
3
4 int a[128];
5
6 int main() {
7   // Check that array-to-pointer conversion occurs in a
8   // statement-expression.
9   if (sizeof (({ a; })) != sizeof (int *))
10     return 1;
11 }