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
re PR c++/85558 (ICE in make_rtl_for_nonlocal_decl when using static member of templa...
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
other
/
friend17.C
blob
81269afde4dc6ac775a87562521149bca4ac4252
1
// PR c++/85558
2
3
template <typename T>
4
struct triggerBug {
5
friend void doInitUser(bool = triggerBug::doInit) {}
6
static bool doInit;
7
};
8
9
template <class T>
10
bool triggerBug<T>::doInit = true;
11
12
triggerBug<int> bug;