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
pretty-print.h (pp_base): Remove.
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
tm
/
nested-2.c
blob
205ca8d7eac6a13e1181152581030a563636a139
1
/* { dg-do compile } */
2
/* { dg-options "-fgnu-tm" } */
3
4
void
foobar
(
void
)
5
{
6
__transaction_atomic
{
7
foobar
();
8
}
9
}
10
11
void
doit
(
void
)
__attribute__
((
transaction_safe
));
12
13
__attribute__
((
transaction_callable
))
14
void
callable
(
void
)
15
{
16
__transaction_atomic
{
17
doit
();
18
}
19
}