xref: /llvm-project/clang/test/SemaCXX/typo-correction-cxx17.cpp (revision 597f2bcee895c1a9cc18067b85d6846137c11816)
1 // RUN: %clang_cc1 -std=c++1z -fsyntax-only -verify %s
2 
3 namespace decomp_decl {
f()4 void f() {
5   auto [this_is_a_typo] = this_is_a_typp(); // expected-error{{use of undeclared identifier 'this_is_a_typp'}}
6 }
7 }
8