// expected-warning 0-1 {{umbrella header}} // FIXME: The "umbrella header" warning should be moved to a separate test. // This "0-1" is only here because the warning is only emitted when the // module is (otherwise) successfully included. #ifndef MODULE_H #define MODULE_H const char *getModuleVersion(void); #ifdef FOO # error Module should have been built without -DFOO #endif @interface Module +(const char *)version; // retrieve module version +alloc; @end #define MODULE_H_MACRO 1 #__private_macro MODULE_H_MACRO #include #include __asm("foo"); #endif // MODULE_H