FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.dg / parse / extern-C-1.C
blob60a634832f11a9d537a5a0096c2f982fa275858d
1 /* PR c++/4754 */
2 /* { dg-do compile } */
3 // GCC 3.2 got very confused by the nested extern "C" blocks, and thought 
4 // there was a storage class specifier on 'int i'.
6 extern "C"
8     extern "C" struct Test
9     {
10         int i;
11     };