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