summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.oliva/linkage1-main.cc
blob: 80d27c36c29f60b7c734a547927c8eb485a36e88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright 2002 Free Software Foundation

// Derived by Alexandre Oliva <aoliva@redhat.com> from code posted by
// Mark Mitchell <mark@codesourcery.com>

typedef struct {
  void f();
} S;

int main() {
  S s;
  s.f();
}