Debian Codegraph @

clang/test/Modules/inner-struct-redefines-invisible.m

raw
1 // RUN: rm -rf %t
2 // RUN: %clang_cc1 -fsyntax-only -I%S/Inputs -fmodules -fimplicit-module-maps -fmodules-cache-path=%t -verify %s
3 // expected-no-diagnostics
4
5 @import innerstructredef.one;
6
7 struct Outer {
8 // Should set lexical context when parsing 'Inner' here, otherwise there's a crash:
9 struct Inner {
10 int x;
11 } field;
12 };