OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* c-common.c (flag_abi_version): Default to 2.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
abi
/
dtor2.C
1
// { dg-do compile }
2
// { dg-options "-Wabi -fabi-version=1" }
3
4
struct A {
5
virtual void a ();
6
};
7
8
struct B {
9
virtual ~B ();
10
};
11
12
struct C : public A, public B { // { dg-warning "virtual" }
13
virtual void c ();
14
};