summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/linkage3.C
blob: 8ddff82f50dabbc94b340726a2f3eb906ac472f4 (plain)
1
2
3
4
5
// { dg-do assemble  }
// Origin: Mark Mitchell <mark@codesourcery.com>

extern "C" void f (); // { dg-error "" } previous declaration
static void f () {} // { dg-error "" } extern redeclared static