// RUN: clang-cc -fsyntax-only -verify %s void f(); // FIXME: would like to refer to the first function parameter in these test, // but that won't work (yet). // Test typeof(expr) canonicalization template void f0(T x, __typeof__(f(N)) y) { } // expected-note{{previous}} template void f0(T x, __typeof__((f)(N)) y) { } template void f0(U u, __typeof__(f(M))) { } // expected-error{{redefinition}}