8 lines · c
1#ifndef H_H2#define H_H3#include "c.h"4#include "d.h" // expected-error {{module XH does not directly depend on a module exporting 'd.h', which is part of indirectly-used module XD}}5#include "h1.h"6const int h1 = aux_h*c*7*d;7#endif8 1#ifndef H_H2#define H_H3#include "c.h"4#include "d.h" // expected-error {{module XH does not directly depend on a module exporting 'd.h', which is part of indirectly-used module XD}}5#include "h1.h"6const int h1 = aux_h*c*7*d;7#endif8