// { dg-do compile { target c++11 } } template struct A { A() { fp(); } // { dg-error "not expanded|fp" } }; void foo(); A a;