summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/charset/extern2.cc
blob: 9a0c85039560a9914c39704d78cbf9c13b493ea9 (plain)
1
2
3
4
5
/* Check that we push the declaration and then continue translation.  */
/* { dg-do compile }
   { dg-require-iconv "IBM1047" }
   { dg-final { scan-assembler-not "foobar" } } */
extern "C" { const char* foo = "foobar"; }