8 lines · cpp
1// RUN: %clang_cc1 -std=c++1z -fsyntax-only -verify %s2 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 1// RUN: %clang_cc1 -std=c++1z -fsyntax-only -verify %s2 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