aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/cmake/1 basic/subprojects/cmMod/cmMod.cpp
blob: f4cbea0ce0dd5f8360c45b06066951692b2f4428 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "cmMod.hpp"

using namespace std;

#if MESON_MAGIC_FLAG != 21
#error "Invalid MESON_MAGIC_FLAG (private)"
#endif

cmModClass::cmModClass(string foo) {
  str = foo + " World";
}

string cmModClass::getStr() const {
  return str;
}