[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / template / ref7.C
blobf6395e2c35f1c2d9b2792cc4d255517a3d5debe1
1 // PR c++/60167
3 template <int& F>
4 struct Foo {
5   typedef int Bar;
7   static Bar cache;
8 };
10 template <int& F> typename Foo<F>::Bar Foo<F>::cache;