summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gdc.test/compilable/header18364.d
blob: c7e1e67c7aea80805c636e5cb051517b20eaf6c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
REQUIRED_ARGS: -o- -Hf${RESULTS_DIR}/compilable/header18364.di
PERMUTE_ARGS:
OUTPUT_FILES: ${RESULTS_DIR}/compilable/header18364.di

TEST_OUTPUT:
---
=== ${RESULTS_DIR}/compilable/header18364.di
// D import file generated from 'compilable/header18364.d'
module foo.bar.ba;
nothrow pure @nogc @safe package(foo) 
{
	void foo();
	nothrow pure @nogc @safe package(foo.bar) void foo2();
}
---
*/

module foo.bar.ba;
@safe pure nothrow @nogc package(foo):
void foo();

@safe pure nothrow @nogc package(foo.bar):
void foo2();