1 // { dg-do compile { target c++11 } } 2 3 extern "C"_badlinkage { // { dg-error "expected unqualified-id before" } 4 5 int foo(); 6 7 } 8