blob: c4e44b074aa14a6f098b326218cd4e6f63a433dd (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
module A [system] {
module sub {
header "sys/A.h"
}
module sub2 { // expected-error {{build a shadowed submodule 'A.sub2'}}
header "sys/A2.h"
}
module stdarg {
header "stdarg.h"
export *
}
}
module A2 {}
|