1 2 3 4 5 6 7 8 9 10 11 12 13 14
// RUN: clang -fsyntax-only -Wunused-variable -verify %s template<typename T> void f() { T t; t = 17; } // PR5407 struct A { A(); }; struct B { ~B(); }; void f() { A a; B b; }