summaryrefslogtreecommitdiff
path: root/clang/test/Modules/Inputs/Module.framework/Headers/Module.h
blob: 738b2221cbb54a9f98ccb0dc2c542298eb3250ee (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// expected-warning{{umbrella header}}

#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 <Module/Sub.h>
#include <Module/Buried/Treasure.h>

#endif // MODULE_H