1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
// RUN: clang-cc %s -fsyntax-only -verify int test1() { throw; } // PR5071 template<typename T> T f() { } template<typename T> void g(T t) { return t * 2; // okay } template<typename T> T h() { return 17; }