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