用于进行gcc测试

源代码在线查看: wpointer-sign.c

软件大小: 6330 K
上传用户: yhw002
关键词: gcc 测试
下载地址: 免注册下载 普通下载 VIP

相关代码

				/* This is from PR c/25892.  The SC promised RMS that -Wpointer-sign				   would be off by default in GCC 4.1 to avoid inconvenient warnings				   while compiling GNU Emacs.  It should be enabled with -Wall and/or				   -pedantic, though.  Make sure it's off by default in this test (so				   use dg-options "" to avoid passing -pedantic-errors).  */								/* { dg-options "" } */								void foo(unsigned long* ulp);								void bar(long* lp) {				  foo(lp);				}							

相关资源