class a {} a1;
template <a & p> class b { public: b() { static_cast <a &> (p); }; };
int main() { b <a1> b1; }


syntax highlighted by Code2HTML, v. 0.9.1