diff options
author | Attila Molnar <attilamolnar@hush.com> | 2014-12-07 23:39:55 +0100 |
---|---|---|
committer | Attila Molnar <attilamolnar@hush.com> | 2014-12-07 23:39:55 +0100 |
commit | 35d80008d6cb55160d06dda51aebc716c4d6511b (patch) | |
tree | e8849342709f39aac11a8882a02f5bf658e824c3 /make/test | |
parent | 48f8f79317a04891e2becd859363add6eb2d6444 (diff) | |
parent | 440f34023a094697fca5fc07dfbb9e2a3228520a (diff) |
Merge pull request #895 from SaberUK/master+configure-misc-cleanup
Various improvements to the build system.
Diffstat (limited to 'make/test')
-rw-r--r-- | make/test/compiler.cpp | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/make/test/compiler.cpp b/make/test/compiler.cpp new file mode 100644 index 000000000..1c3e1d875 --- /dev/null +++ b/make/test/compiler.cpp @@ -0,0 +1,29 @@ +/* + * InspIRCd -- Internet Relay Chat Daemon + * + * + * This file is part of InspIRCd. InspIRCd is free software: you can + * redistribute it and/or modify it under the terms of the GNU General Public + * License as published by the Free Software Foundation, version 2. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more + * details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see <http://www.gnu.org/licenses/>. + */ + + +#include <iostream> +#if defined _LIBCPP_VERSION +# include <unordered_map> +#else +# include <tr1/unordered_map> +#endif + +int main() { + std::cout << "Hello, World!" << std::endl; + return 0; +} |