summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaCXX/typo-correction-cxx17.cpp
blob: f137499753422dbdc89940baa10dade3f5a87d9a (plain)
1
2
3
4
5
6
7
// RUN: %clang_cc1 -std=c++1z -fsyntax-only -verify %s

namespace decomp_decl {
void f() {
	auto [this_is_a_typo] = this_is_a_typp(); // expected-error{{use of undeclared identifier 'this_is_a_typp'}}
}
}
OpenPOWER on IntegriCloud