aboutsummaryrefslogtreecommitdiffstats
path: root/test/uniondecdef.cpp
blob: ebded31663bb249dff51310467a716337813562b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
namespace uniondecl_ns{
union testUnion {
  int reg;
  bool b1;
  bool b2;
};

#define uniondecdefmacro unionDecDefMacroExpanded
union uniondecdefmacro {
  int reggie;
  int bubu;
};
}; // namespace