/* Copyright (C) 2000 Free Software Foundation, Inc. */ /* Test various combinations of missing parentheses give the correct missing parenthesis message. */ /* { dg-do preprocess } */ #if (1
http://www.codebf.com/read/366702/2884139
/* { dg-do preprocess } */ /* Test the ? : opearator, for precedence and both true and false. */ #if 1 ? 1 ? 2 : 0 : 0 #error OK /* { dg-error "OK" "nested ? :" } */ #endif #if ((0) ? (1) ? (2)
http://www.codebf.com/read/366702/2884147
/* { dg-do preprocess } */ /* { dg-options "-pedantic-errors" } */ #if 0xa != 10 #error 0xa != 10 /* { dg-bogus "#error" "normal conversion" } */ #endif #if 077 != 63 #error 077 != 63 /* { dg-bogus
http://www.codebf.com/read/366702/2884200
/* Test for commas in constant expressions in #if: not permitted in C90 but permitted in unevaluated subexpressions in C99. */ /* Origin: Joseph Myers */ /* { dg-do preproce
http://www.codebf.com/read/366702/2884239
/* { dg-do preprocess } */ /* { dg-options -pedantic-errors } */ #if 'a' != 'a' || '\001' != 1 || '\x12' != 0x12 #error a,1,0x12 /* { dg-bogus "#error" "basic charconst recognition" } */ #endif #if
http://www.codebf.com/read/366702/2884250
/* { dg-do preprocess } */ /* Test that this preprocesses without error. */ #if (-1)/2 #endif
http://www.codebf.com/read/366702/2884253
/* Copyright (C) 2000 Free Software Foundation, Inc. */ /* { dg-do preprocess } */ /* Test shift operators. */ #if 1 >
http://www.codebf.com/read/366702/2884264
/* Copyright (C) 2000 Free Software Foundation, Inc. */ /* { dg-do preprocess } */ /* Source: Neil Booth. */ /* Various illegal expressions with missing components. */ #if /* { dg-error "no ex
http://www.codebf.com/read/366702/2884268
/* Parse error recovery { dg-do compile } { dg-options "-fsyntax-only" } */ void f(x) { if (x > 1) int ret = 1; /* { dg-error "expected expression before 'int'" } */ }
http://www.codebf.com/read/366702/2884666
/* net/if.h */
http://www.codebf.com/read/365785/2895285
虫虫下载站 半导体技术网 电子研发网 源码地带 电源技术网 单片机技术网 医疗电子技术 嵌入式系统与单片机