Sign in
llvm
/
llvm-project
/
clang
/
refs/heads/main
/
.
/
test
/
SemaCXX
/
typo-correction-cxx17.cpp
blob: d6a8994f74e1376e7bdb5abbcbdeb2a12cf6bf54 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -std=c++1z -fsyntax-only -verify %s
namespace
decomp_decl
{
void
f
()
{
auto
[
this_is_a_typo
]
=
this_is_a_typp
();
// expected-error{{use of undeclared identifier 'this_is_a_typp'}}
}
}