brintos

brintos / llvm-project-archived public Read only

0
0
Text · 323 B · a44f240 Raw
16 lines · plain
1// RUN: %clang_cc1 -fsyntax-only -verify -triple %ms_abi_triple -Wno-objc-root-class %s2// expected-no-diagnostics3 4class Foo {5  ~Foo();6};7 8@interface bar9- (void) my_method: (Foo)arg;10@end11 12@implementation bar13- (void) my_method: (Foo)arg { // no error; MS ABI will call Foo's dtor, but we skip the access check.14}15@end16