Debian Codegraph @

clang/test/Sema/typo-correction-no-hang.c

raw
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
2
3 // PR50797
4 struct a {
5 int xxx;
6 };
7
8 int g_107;
9 int g_108;
10 int g_109;
11
12 struct a g_999;
13
14 void b(void) { (g_910.xxx = g_910.xxx); } //expected-error 2{{use of undeclared identifier 'g_910'}}
15
16 void c(void) { (g_910.xxx = g_910.xxx1); } //expected-error 2{{use of undeclared identifier 'g_910'}}