From 30a668d0bbc99f44af1c2ec755eb4ee27065f450 Mon Sep 17 00:00:00 2001 From: Daniel Mensinger Date: Sat, 19 Oct 2019 18:05:11 +0200 Subject: cmake: Blacklist more compiler warning flags --- .../cmake/13 system includes/subprojects/cmMod/cmMod.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 test cases/cmake/13 system includes/subprojects/cmMod/cmMod.cpp (limited to 'test cases/cmake/13 system includes/subprojects/cmMod/cmMod.cpp') diff --git a/test cases/cmake/13 system includes/subprojects/cmMod/cmMod.cpp b/test cases/cmake/13 system includes/subprojects/cmMod/cmMod.cpp new file mode 100644 index 000000000..1eaf0cf31 --- /dev/null +++ b/test cases/cmake/13 system includes/subprojects/cmMod/cmMod.cpp @@ -0,0 +1,12 @@ +#include "cmMod.hpp" +#include "triggerWarn.hpp" + +using namespace std; + +cmModClass::cmModClass(string foo) { + str = foo + " World " + to_string(bar(World)); +} + +string cmModClass::getStr() const { + return str; +} -- cgit v1.2.3