// RUN: %clang_cc1 -fsyntax-only -verify -triple %ms_abi_triple -Wno-objc-root-class %s
// expected-no-diagnostics
classFoo{~Foo();};@interfacebar- (void)my_method:(Foo)arg;@end@implementationbar- (void)my_method:(Foo)arg{// no error; MS ABI will call Foo's dtor, but we skip the access check.
}@end