repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
* auto-profile.c (afdo_annotate_cfg): Use update_max_bb_count.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
tm
/
inherit1.C
blob
b8480a1089212cef34ba0f8c7a280dafea4d4298
1
// Testcase from TM TS
2
// { dg-options "-std=c++14 -fgnu-tm" }
3
4
struct B {
5
virtual void f() transaction_safe;
6
};
7
8
struct D3 : B
9
{
10
void f() transaction_safe_dynamic override; // { dg-error "" "B::f() is transaction_safe" }
11
};