Blame cpp-test/test-t/u_cplus.C
|
Packit |
b40e2e |
/* u_cplus.C: C++: #undef or #define __cplusplus causes undefined
|
|
Packit |
b40e2e |
behavior. */
|
|
Packit |
b40e2e |
|
|
Packit |
b40e2e |
/* { dg-do preprocess } */
|
|
Packit |
b40e2e |
/* { dg-options "-std=c++98 -pedantic-errors" } */
|
|
Packit |
b40e2e |
|
|
Packit |
b40e2e |
#undef __cplusplus /* { dg-error "undefining | shouldn't be undefined" } */
|
|
Packit |
b40e2e |
|