summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/pushpop_macro.c
blob: 08a82204313e899fbd5643ca8e3d79a27a46e642 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
extern void abort ();

#define _ 2
#pragma push_macro("_")
#undef _
#define _ 1
#pragma pop_macro("_")

int main ()
{
  if (_ != 2)
    abort ();
  return 0;
}