blob: ecf6d808df3d5fc8bba61e6ac9c88d35b6c2b42b [file] [log] [blame]
Alex Lorenz213d3432017-08-11 12:06:52 +00001// 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
7struct Outer {
8// Should set lexical context when parsing 'Inner' here, otherwise there's a crash:
9struct Inner {
10 int x;
11} field;
12};