gcc.dg/vect/vect-singleton_1.c: Remove duplicate of test body.
[official-gcc.git] / gcc / testsuite / objc.dg / comp-types-11.m
blob9de3cee64d9e49c07cbba9d6a1730a2160eda2e4
1 /* { dg-do compile } */
2 #include "../objc-obj-c++-shared/TestsuiteObject.h"
4 @interface Derived: TestsuiteObject
5 @end
7 extern TestsuiteObject* foo(void);
8 static Derived *test(void)
10    Derived *m = foo();   /* { dg-warning "initialization from distinct Objective\\-C type" } */
12    return m;