summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cpp/30951-sp_before_tr_emb_cmt_input.cpp
blob: c7e25f1cd8a03653bd624450ffc46094801b6f87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* leading cmt */ int w;
int y;  /* embedded cmt */ int z;
// whole cpp cmt
int x;  // trailing cpp cmt
/* whole c cmt */
int x;  /* trailing c cmt */
struct foo {  // trailing cmt
  int x;  // trailing cmt
  // whole cmt
  int a;     /* emb cmt */ int b;    // trailing cmt
};  // trailing cmt
int a;  /* emb cmt */ int b;  // trailing cmt