]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/testsuite/gdc.test/compilable/minimal.d
d: Import dmd b8384668f, druntime e6caaab9, phobos 5ab9ad256 (v2.098.0-beta.1)
[thirdparty/gcc.git] / gcc / testsuite / gdc.test / compilable / minimal.d
CommitLineData
5fee5ec3
IB
1// DFLAGS:
2// PERMUTE_ARGS:
3// POST_SCRIPT: compilable/extra-files/minimal/verify_symbols.sh
4// REQUIRED_ARGS: -defaultlib=
5// EXTRA_SOURCES: extra-files/minimal/object.d
6
7// This test ensures an empty main with a struct and enum, built with a minimal
8// runtime, does not generate ModuleInfo or exception handling code, and does not
9// require TypeInfo
10
11struct S { }
12
13enum E
14{
15 e0 = 0,
16 e1 = 1
17}
18
19void main() { }