summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr17424-1.c
blob: 893b4af13d2eeaed3652f2b9ad93649bd312f509 (plain)
1
2
3
4
5
/* Test for bug 17424: ICE for sizeof an undeclared variable.  */
/* { dg-do compile } */
/* { dg-options "" } */

;int foezis = sizeof tni; /* { dg-error "'tni' undeclared" } */