1 | // RUN: rm -rf %t.cache |
---|---|
2 | // RUN: %clang_cc1 %s -fsyntax-only -fmodules -fimplicit-module-maps -fmodules-cache-path=%t.cache -I%S/Inputs/class-extension -verify |
3 | // expected-no-diagnostics |
4 | |
5 | #import "a-private.h" |
6 | |
7 | int foo(A *X) { |
8 | return X.p0 + X.p1; |
9 | } |
10 |