]> git.ipfire.org Git - thirdparty/gcc.git/blob - libphobos/libdruntime/__main.di
Update copyright years.
[thirdparty/gcc.git] / libphobos / libdruntime / __main.di
1 /* GDC -- D front-end for GCC
2 Copyright (C) 2018-2022 Free Software Foundation, Inc.
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
21 module __main;
22
23 version (D_BetterC)
24 {
25 extern (C) int main(int, char**)
26 {
27 return 0;
28 }
29 }
30 else
31 {
32 int main(char[][])
33 {
34 return 0;
35 }
36 }