[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / SemaCXX / typo-correction-cxx17.cpp
blobd6a8994f74e1376e7bdb5abbcbdeb2a12cf6bf54
1 // RUN: %clang_cc1 -std=c++1z -fsyntax-only -verify %s
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'}}