Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
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
;
}