llvm-project/clang/test/SemaTemplate/nss-recovery.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
208 B
C++
Raw Normal View History

// 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}}
}