1 /* Static variables, even if local, require indirect access through a stub
2 if -mfix-and-continue is enabled. */
4 /* Author: Ziemowit Laski <zlaski@apple.com> */
6 /* { dg-do assemble { target *-*-darwin* } } */
7 /* { dg-options "-mfix-and-continue" } */
9 #include "../objc-obj-c++-shared/TestsuiteObject.h"
11 @interface Foo: TestsuiteObject
12 + (TestsuiteObject *)indexableFileTypes;
16 + (TestsuiteObject *)indexableFileTypes
18 static TestsuiteObject *fileTypes = 0;
20 fileTypes = [TestsuiteObject new];