summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/externC4.C
blob: daf097fc893fce4afb5552c442e409b3adcb25b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// { dg-do assemble  }
// Origin: Neil Booth, from PR #66

extern "C"
{
  class foo
  {
  public:
    ~foo ();
    void bar (foo *);
    foo ();
  };
}