aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gdc.test/compilable/ddoc10367.d
blob: 836c7d0cc50f019093a134e76f7ab549a8243d07 (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
25
26
27
28
// PERMUTE_ARGS:
// REQUIRED_ARGS: -D -Dd${RESULTS_DIR}/compilable -o-
// POST_SCRIPT: compilable/extra-files/ddocAny-postscript.sh 10367
// REQUIRED_ARGS: -m32
// EXTRA_SOURCES: extra-files/ddoc10367.ddoc

module ddoc10367;

/// A
enum A
{
    a = 1, /// a
    b = 2  /// b
}

/// B
enum B : long
{
    a = 1, /// a
    b = 2  /// b
}

/// C
enum C : string
{
    a = "a", /// a
    b = "b"  /// b
}