I just tried to compile the following C++ source code
with the GNU C++ compiler version 4.3 snapshot 20071005.

static extern c;

The compiler said

testProg.cc:3: error: ISO C++ forbids declaration of 'c' with no type
testProg.cc:3: error: conflicting specifiers in declaration of 'c'
testProg.cc:3: internal compiler error: in start_decl, at cp/decl.c:4128
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: ice for broken C++ code
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: dcb314 at hotmail dot com
  GCC host triplet: suse-linux-x86_64


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

Reply via email to