Commit 1ff11883 by Nathanael Nerode

* g++.dg/parse/extern-C-1.C: New test.

From-SVN: r60833
parent 96dafad6
2003-01-03 Nathanael Nerode <neroden@gcc.gnu.org>
* g++.dg/parse/extern-C-1.C: New test.
* g++.dg/parse/namespace4.C: New test.
* g++.dg/template/nested1.C: New test.
......
/* PR c++/4754 */
/* { dg-do compile } */
// GCC 3.2 got very confused by the nested extern "C" blocks, and thought
// there was a storage class specifier on 'int i'.
extern "C"
{
extern "C" struct Test
{
int i;
};
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment