Richard Smith b9d0193e59 [modules] Use the "redundant #include" diagnostic rather than the "module
import can't appear here" diagnostic if an already-visible module is textually
entered (because we have the module map but not the AST file) within a
function/namespace scope.

llvm-svn: 288737
2016-12-06 00:12:39 +00:00

5 lines
78 B
C

#ifndef CXX_HEADER_H
#define CXX_HEADER_H
inline int f() { return 0; }
#endif