mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-04-18 06:10:37 +00:00

During deserialization clang is currently missing the merging of protocols into the canonical interface for the class extension. This merging only currently happens during parsing and should also be considered during deserialization. rdar://problem/38724303 llvm-svn: 331063
10 lines
250 B
Objective-C
10 lines
250 B
Objective-C
// RUN: rm -rf %t.cache
|
|
// RUN: %clang_cc1 %s -fsyntax-only -fmodules -fimplicit-module-maps -fmodules-cache-path=%t.cache -I%S/Inputs/class-extension -verify
|
|
// expected-no-diagnostics
|
|
|
|
#import "a-private.h"
|
|
|
|
int foo(A *X) {
|
|
return X.p0 + X.p1;
|
|
}
|