aboutsummaryrefslogtreecommitdiff
path: root/test cases/unit/57 introspection/t1.cpp
blob: 901e3f1ace154ee46c1a9539c259d795da354663 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "sharedlib/shared.hpp"

int main(void) {
  SharedClass cl1;
  if(cl1.getNumber() != 42) {
    return 1;
  }
  cl1.doStuff();
  if(cl1.getNumber() != 43) {
    return 2;
  }
  return 0;
}