[Bug c++/41921] Cross language don't work with typedef unnamed structs

rguenth at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Nov 3 12:15:00 GMT 2009



------- Comment #6 from rguenth at gcc dot gnu dot org  2009-11-03 12:15 -------
This also likely means that the pure C++ testcase

t1.C
-----
struct {} a;

t2.C
-----
typedef struct {} T;
extern T a;
void foo(void)
{
  a = T();
}


breaks.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41921



More information about the Gcc-bugs mailing list