Clang Project

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