1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2 
3 // There should be no extra errors about missing 'typename' keywords.
f()4 void f() {
5   decltype(undef())::Type T; // expected-error {{use of undeclared identifier}}
6 }
7