1 /* Test warning for non-existent selectors. */
2 /* This is the "-fgnu-runtime" variant of objc.dg/selector-1.m. */
3 /* { dg-options "-Wselector -fgnu-runtime" } */
4 /* { dg-do compile } */
6 typedef struct objc_object { struct objc_class *class_pointer; } *id;
7 typedef const struct objc_selector *SEL;
25 @end /* { dg-warning "creating selector for nonexistent method .b1ar." } */