repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Daily bump.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
ubsan
/
vptr-16.C
blob
a3db66e91408131221e70c3a8b9a3402a4141103
1
// PR c++/95311
2
// { dg-additional-options -fsanitize=undefined }
3
4
class a {
5
virtual long b() const;
6
};
7
class c : a {
8
public:
9
long b() const;
10
};
11
class d : c {
12
long e();
13
};
14
long d::e() { b(); return 0; }