charconst-2.c

来自「this is a gcc file, you can download it 」· C语言 代码 · 共 20 行

C
20
字号
/* Copyright (C) 2001 Free Software Foundation, Inc.  *//* { dg-do compile } *//* { dg-options "-fsigned-char" } *//* Crosscompiling from i686-linux (32-bit) to x86_64-linux (64-bit)   gave extra warnings on the two assignments:   warning: large integer implicitly truncated to unsigned type   warning: overflow in implicit constant conversion   This test has been added as a regression test after fixing the bug   by Andreas Jaeger, 23 Nov 2001.  */intmain (void){  signed char c = '\xff';  unsigned char d = '\xff';    return 0;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?