// { dg-do assemble } // Source: Neil Booth, from PR # 106. 4 Dec 2000. template class bar { }; class A_a { public: static const bool b = true; }; class B_b { public: static const bool b = false; }; template class foo { }; template bar<(A::b || B::b)> do_funky(const foo&); int main() { bar a_bar = do_funky(foo()); }