summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr31953.c
blob: 667c9ae88515a256b0018742558a0ce2b6ff9cad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
struct WView
{
  int hexedit_mode:1;
};
toggle_hexedit_mode (struct WView *view)
{
  if (view->hexedit_mode)
    {
    }
  else
    {
      view->hexedit_mode = !view->hexedit_mode;
    }
}