blob: 3869080036c8ccc575e6feef6d38ca7cbe3b18f9 [file] [log] [blame]
/* APPLE LOCAL file 4724822 */
/* Attempt to access property of a forward decl. class. */
/* APPLE LOCAL radar 4899595 */
/* { dg-options "-fno-objc-new-property -mmacosx-version-min=10.5" } */
@class NSString;
void foo(NSString *param_0) {
param_0.val; /* { dg-error "request for member \\'val\\' in something not a structure or union" } */
}