Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/gcc.dg/cpp/pr60570.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
line wrap: on
line source
/* PR preprocessor/60570 */ /* { dg-do preprocess } */ #if 1 int i; #elif 1/0 #endif #if 1 int j; #elif #endif #if 0 #elif 1/0 /* { dg-error "division by zero" } */ int k; #endif #if 0 #elif /* { dg-error "with no expression" } */ int n; #endif #if 1 # if 1 int l; # elif 1/0 # endif #endif #if 1 # if 1 int l; # elif # endif #endif #if 1 # if 0 # elif 1/0 /* { dg-error "division by zero" } */ # endif #endif #if 1 # if 0 # elif /* { dg-error "with no expression" } */ # endif #endif