summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.other/syntax1.C
blob: f1d3a86549c03e1282adfea4625d9216df17fa3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// { dg-do assemble  }
// { dg-options "-fsyntax-only" }
// Origin: Mark Mitchell <mark@codesourcery.com>

class AAA{
public:
  virtual void fff();
};

void AAA::fff() {}

AAA aaa;

main ()
{
  aaa.fff();
}