From 41db54802ff8a3a84f5bd36f04a590e343ebb648 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Bylica?= Date: Wed, 29 May 2019 10:46:11 +0200 Subject: [PATCH] cpp: Add missing '#pragma once' in evmc.hpp --- include/evmc/evmc.hpp | 1 + test/integration/compilation/compilation_test.cxx | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/include/evmc/evmc.hpp b/include/evmc/evmc.hpp index cffeeef..7dc857c 100644 --- a/include/evmc/evmc.hpp +++ b/include/evmc/evmc.hpp @@ -2,6 +2,7 @@ * Copyright 2018-2019 The EVMC Authors. * Licensed under the Apache License, Version 2.0. */ +#pragma once #include #include diff --git a/test/integration/compilation/compilation_test.cxx b/test/integration/compilation/compilation_test.cxx index ea41f35..ab51099 100644 --- a/test/integration/compilation/compilation_test.cxx +++ b/test/integration/compilation/compilation_test.cxx @@ -12,3 +12,12 @@ #include #include #include + +// Include again to check if headers have proper include guards. +#include +#include +#include +#include +#include +#include +#include