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