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
/cp
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
nontype22.C
1
// PR c++/44629
2
// The proper mangling is unclear.
3
4
template<typename T> int cmp1(T a, T b);
5
template<typename T, int (*cmp)(T, T) = cmp1> struct A { };
6
template <typename T> void f (A<T> &); // { dg-bogus "" "" { xfail *-*-* } }
7
void g()
8
{
9
A<char> a;
10
f(a);
11
}