]> git.ipfire.org Git - thirdparty/gcc.git/blame - libphobos/libdruntime/__main.di
Update copyright years.
[thirdparty/gcc.git] / libphobos / libdruntime / __main.di
CommitLineData
b4c522fa 1/* GDC -- D front-end for GCC
a945c346 2 Copyright (C) 2018-2024 Free Software Foundation, Inc.
b4c522fa
IB
3
4 GCC is free software; you can redistribute it and/or modify it under
5 the terms of the GNU General Public License as published by the Free
6 Software Foundation; either version 3, or (at your option) any later
7 version.
8
9 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
10 WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with GCC; see the file COPYING3. If not see
16 <http://www.gnu.org/licenses/>.
17*/
18
19/* This module provides the D main() function supplied by the user's program. */
20
21module __main;
22
d46a29d9 23version (D_BetterC)
b4c522fa 24{
d46a29d9
IB
25 extern (C) int main(int, char**)
26 {
27 return 0;
28 }
29}
30else
31{
32 int main(char[][])
33 {
34 return 0;
35 }
b4c522fa 36}