1module A [system] { // expected-note {{previous definition is here}}
2  module sub {
3    header "sys/A.h"
4  }
5  module sub2 {
6    header "sys/A2.h"
7  }
8  module stdarg {
9    header "stdarg.h"
10    export *
11  }
12}
13
14module A2 {}
15