c++: robustify testcase [PR109752]
[official-gcc.git] / gcc / testsuite / g++.dg / template / static27.C
blob0b63967e35214bd4d1f358509ccd1790488d83db
1 // PR c++/28235
3 template<typename> struct A
5   static const bool i = true;
6   template<bool = i> struct B {};
7   B<> b;
8 };
10 void f() {
11   A<int> a1, a2;
12   a1.b = a2.b;