llvm-project/clang/test/Parser/cxx-invalid-using-decl-in-constexpr-crash.cpp

9 lines
164 B
C++

// RUN: %clang_cc1 -fsyntax-only -verify %s
// issue144264
constexpr void test()
{
using TT = struct T[;
// expected-error@-1 {{expected expression}}
}