forked from OSchip/llvm-project
7 lines
208 B
C++
7 lines
208 B
C++
|
// RUN: %clang_cc1 -fsyntax-only -verify %s
|
||
|
|
||
|
// There should be no extra errors about missing 'typename' keywords.
|
||
|
void f() {
|
||
|
decltype(undef())::Type T; // expected-error {{use of undeclared identifier}}
|
||
|
}
|