brintos

brintos / llvm-project-archived public Read only

0
0
Text · 337 B · da234a2 Raw
17 lines · c
1// RUN: %clang_cc1 -fsyntax-only -verify %s2 3// PR507974struct a {5  int xxx;6};7 8int g_107;9int g_108;10int g_109;11 12struct a g_999;13 14void b(void) { (g_910.xxx = g_910.xxx); } //expected-error 2{{use of undeclared identifier 'g_910'}}15 16void c(void) { (g_910.xxx = g_910.xxx1); } //expected-error 2{{use of undeclared identifier 'g_910'}}17