Debian Codegraph @

gcc/testsuite/g++.dg/other/dump-ada-spec-3.C

raw
1 /* { dg-do compile } */
2 /* { dg-options "-fdump-ada-spec" } */
3
4 using namespace std;
5
6 class Base {
7 public:
8 int My_V;
9 virtual void Primitive ();
10
11 Base ();
12 };
13
14 void Base::Primitive () {
15 }
16
17 Base::Base () {
18 }
19
20 void Dispatch (Base * B) {
21 B->Primitive ();
22 }
23
24 /* { dg-final { cleanup-ada-spec } } */