]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - make/test/compiler.cpp
5adf83df8e8186bbcba02ca4e368bff58bb898dc
[user/henk/code/inspircd.git] / make / test / compiler.cpp
1 /*
2  * InspIRCd -- Internet Relay Chat Daemon
3  *
4  *   Copyright (C) 2016 Attila Molnar <attilamolnar@hush.com>
5  *   Copyright (C) 2014-2015, 2017 Sadie Powell <sadie@witchery.services>
6  *
7  * This file is part of InspIRCd.  InspIRCd is free software: you can
8  * redistribute it and/or modify it under the terms of the GNU General Public
9  * License as published by the Free Software Foundation, version 2.
10  *
11  * This program is distributed in the hope that it will be useful, but WITHOUT
12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13  * FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
14  * details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
18  */
19
20
21 #include <iostream>
22 #if defined _LIBCPP_VERSION
23 # include <array>
24 # include <type_traits>
25 # include <unordered_map>
26 #else
27 # include <tr1/array>
28 # include <tr1/type_traits>
29 # include <tr1/unordered_map>
30 #endif
31
32 #if defined __llvm__ && !defined __clang__ && __GNUC__ == 4 && __GNUC_MINOR__ == 2 && __GNUC_PATCHLEVEL__ == 1
33 # error "LLVM-GCC 4.2.1 has broken visibility support."
34 #endif
35
36 int main() {
37         std::cout << "Hello, World!" << std::endl;
38         return 0;
39 }