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
c++: robustify testcase [PR109752]
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
local10.C
blob
9a70b846ff3cad62017dd5f5f8dda51e58101a90
1
// PR c++/109658
2
3
template <typename OutputStream> void encode(OutputStream, int *) {
4
struct ValueBaseVisitor {
5
void visit() { encodeString(); }
6
void encodeString() {}
7
};
8
}
9
int encode_json;
10
void encode_out() { encode(encode_out, &encode_json); }