15 lines
233 B
Plaintext
15 lines
233 B
Plaintext
|
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 {}
|