blob: 81269afde4dc6ac775a87562521149bca4ac4252 [file] [log] [blame]
// PR c++/85558
template <typename T>
struct triggerBug {
friend void doInitUser(bool = triggerBug::doInit) {}
static bool doInit;
};
template <class T>
bool triggerBug<T>::doInit = true;
triggerBug<int> bug;