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
* gcc.dg/tm/memopt-6.c: Cleanup tmedge tree dump.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
cond3.C
1
// PR c++/13833
2
3
struct X {
4
template <typename T>
5
X & operator << (const T &t);
6
X & operator<< (int& (*p) (int&));
7
};
8
9
X x;
10
11
template <int> void foo () {
12
x << (1 ? "ok" : "failed");
13
}
14
15
template void foo<1>();