summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/opt/interface1.C
blob: 850fe38401173ce4ee98f95490bc7ed41def6916 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// { dg-do run }
// { dg-options "-O2" }
// { dg-additional-sources "interface1-a.cc" }

#pragma implementation "interface1.h"

#include "interface1.h"

extern void g();

int main () {
  g();
}