1 | // RUN: %clang_cc1 -std=c++1z -fsyntax-only -verify %s |
---|---|
2 | |
3 | namespace decomp_decl { |
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 |
1 | // RUN: %clang_cc1 -std=c++1z -fsyntax-only -verify %s |
---|---|
2 | |
3 | namespace decomp_decl { |
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 |