Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
torture
/
pushpop_macro.C
blob: 98065e6ee79e0dc84398516a16fb73a4d96acaac [
file
] [
log
] [
blame
]
/* Do the preprocessor push_macro/pop_macro test. */
/* { dg-do run } */
extern
"C"
void
abort
();
#define
_
2
#pragma
push_macro
(
"_"
)
#undef
_
#define
_
1
#pragma
pop_macro
(
"_"
)
int
main
()
{
if
(
_
!=
2
)
abort
();
return
0
;
}