[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / clang / test / Modules / inner-struct-redefines-invisible.m
blobecf6d808df3d5fc8bba61e6ac9c88d35b6c2b42b
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
5 @import innerstructredef.one;
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;