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
/
template-4.C
blob
dd257111bda77563126850badc7fc8dd851a1ec0
1
// Test for transaction-safety conversion in deduction.
2
// { dg-options "-fgnu-tm" }
3
4
void fn(int) transaction_safe;
5
void fn();
6
7
template <class T> void f(void(*)(T));
8
template <class T> void f2(void(*)(T) transaction_safe);
9
10
void g()
11
{
12
f(fn);
13
}