1 // PR c++/60605
2 
3 template <typename T = int>
4 struct Foo {
barFoo5     void bar() {
6         void bug();
7     }
8 };
9