亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? c90-printf-1.c

?? this is a gcc file, you can download it and learn its usetility, for further detail please look at t
?? C
字號:
/* Test for printf formats.  Formats using C90 features, including cases   where C90 specifies some aspect of the format to be ignored or where   the behavior is undefined.*//* Origin: Joseph Myers <jsm28@cam.ac.uk> *//* { dg-do compile } *//* { dg-options "-std=iso9899:1990 -pedantic -Wformat" } */#include "format.h"voidfoo (int i, int i1, int i2, unsigned int u, double d, char *s, void *p,     int *n, short int *hn, long int l, unsigned long int ul,     long int *ln, long double ld, wint_t lc, wchar_t *ls, llong ll,     ullong ull, unsigned int *un, const int *cn, signed char *ss,     unsigned char *us, const signed char *css, unsigned int u1,     unsigned int u2){  /* See ISO/IEC 9899:1990 (E) subclause 7.9.6.1 (pages 131-134).  */  /* Basic sanity checks for the different components of a format.  */  printf ("%d\n", i);  printf ("%+d\n", i);  printf ("%3d\n", i);  printf ("%-3d\n", i);  printf ("%.7d\n", i);  printf ("%+9.4d\n", i);  printf ("%.3ld\n", l);  printf ("%*d\n", i1, i);  printf ("%.*d\n", i2, i);  printf ("%*.*ld\n", i1, i2, l);  printf ("%d %lu\n", i, ul);  /* GCC has objected to the next one in the past, but it is a valid way     of specifying zero precision.  */  printf ("%.e\n", d); /* { dg-bogus "precision" "bogus precision warning" } */  /* Bogus use of width.  */  printf ("%5n\n", n); /* { dg-warning "width" "width with %n" } */  /* Erroneous, ignored or pointless constructs with precision.  */  /* Whether negative values for precision may be included in the format     string is not entirely clear; presume not, following Clive Feather's     proposed resolution to DR#220 against C99.  In any case, such a     construct should be warned about.  */  printf ("%.-5d\n", i); /* { dg-warning "format|precision" "negative precision warning" } */  printf ("%.-*d\n", i); /* { dg-warning "format" "broken %.-*d format" } */  printf ("%.3c\n", i); /* { dg-warning "precision" "precision with %c" } */  printf ("%.3p\n", p); /* { dg-warning "precision" "precision with %p" } */  printf ("%.3n\n", n); /* { dg-warning "precision" "precision with %n" } */  /* Valid and invalid %% constructions.  Some of the warning messages     are non-optimal, but they do detect the errorneous nature of the     format string.  */  printf ("%%");  printf ("%.3%"); /* { dg-warning "format" "bogus %%" } */  printf ("%-%"); /* { dg-warning "format" "bogus %%" } */  printf ("%-%\n"); /* { dg-warning "format" "bogus %%" } */  printf ("%5%\n"); /* { dg-warning "format" "bogus %%" } */  printf ("%h%\n"); /* { dg-warning "format" "bogus %%" } */  /* Valid and invalid %h, %l, %L constructions.  */  printf ("%hd", i);  printf ("%hi", i);  /* Strictly, these parameters should be int or unsigned int according to     what unsigned short promotes to.  However, GCC ignores sign     differences in format checking here, and this is relied on to get the     correct checking without print_char_table needing to know whether     int and short are the same size.  */  printf ("%ho%hu%hx%hX", u, u, u, u);  printf ("%hn", hn);  printf ("%hf", d); /* { dg-warning "length" "bad use of %h" } */  printf ("%he", d); /* { dg-warning "length" "bad use of %h" } */  printf ("%hE", d); /* { dg-warning "length" "bad use of %h" } */  printf ("%hg", d); /* { dg-warning "length" "bad use of %h" } */  printf ("%hG", d); /* { dg-warning "length" "bad use of %h" } */  printf ("%hc", i); /* { dg-warning "length" "bad use of %h" } */  printf ("%hs", s); /* { dg-warning "length" "bad use of %h" } */  printf ("%hp", p); /* { dg-warning "length" "bad use of %h" } */  printf ("%h"); /* { dg-warning "conversion lacks type" "bare %h" } */  printf ("%h."); /* { dg-warning "conversion" "bogus %h." } */  printf ("%ld%li%lo%lu%lx%lX", l, l, ul, ul, ul, ul);  printf ("%ln", ln);  printf ("%lf", d); /* { dg-warning "length|C" "bad use of %l" } */  printf ("%le", d); /* { dg-warning "length|C" "bad use of %l" } */  printf ("%lE", d); /* { dg-warning "length|C" "bad use of %l" } */  printf ("%lg", d); /* { dg-warning "length|C" "bad use of %l" } */  printf ("%lG", d); /* { dg-warning "length|C" "bad use of %l" } */  printf ("%lp", p); /* { dg-warning "length|C" "bad use of %l" } */  /* These next two were added in C94, but should be objected to in C90.     For the first one, GCC has wanted wchar_t instead of the correct C94     and C99 wint_t.  */  printf ("%lc", lc); /* { dg-warning "length|C" "C90 bad use of %l" } */  printf ("%ls", ls); /* { dg-warning "length|C" "C90 bad use of %l" } */  /* These uses of %L are legitimate, though GCC has wrongly warned for     them in the past.  */  printf ("%Le%LE%Lf%Lg%LG", ld, ld, ld, ld, ld);  /* These next six are accepted by GCC as referring to long long,     but -pedantic correctly warns.  */  printf ("%Ld", ll); /* { dg-warning "does not support" "bad use of %L" } */  printf ("%Li", ll); /* { dg-warning "does not support" "bad use of %L" } */  printf ("%Lo", ull); /* { dg-warning "does not support" "bad use of %L" } */  printf ("%Lu", ull); /* { dg-warning "does not support" "bad use of %L" } */  printf ("%Lx", ull); /* { dg-warning "does not support" "bad use of %L" } */  printf ("%LX", ull); /* { dg-warning "does not support" "bad use of %L" } */  printf ("%Lc", i); /* { dg-warning "length" "bad use of %L" } */  printf ("%Ls", s); /* { dg-warning "length" "bad use of %L" } */  printf ("%Lp", p); /* { dg-warning "length" "bad use of %L" } */  printf ("%Ln", n); /* { dg-warning "length" "bad use of %L" } */  /* Valid uses of each bare conversion.  */  printf ("%d%i%o%u%x%X%f%e%E%g%G%c%s%p%n%%", i, i, u, u, u, u, d, d, d, d, d,	  i, s, p, n);  /* Uses of the - flag (valid on all non-%, non-n conversions).  */  printf ("%-d%-i%-o%-u%-x%-X%-f%-e%-E%-g%-G%-c%-s%-p", i, i, u, u, u, u,	  d, d, d, d, d, i, s, p);  printf ("%-n", n); /* { dg-warning "flag" "bad use of %-n" } */  /* Uses of the + flag (valid on signed conversions only).  */  printf ("%+d%+i%+f%+e%+E%+g%+G\n", i, i, d, d, d, d, d);  printf ("%+o", u); /* { dg-warning "flag" "bad use of + flag" } */  printf ("%+u", u); /* { dg-warning "flag" "bad use of + flag" } */  printf ("%+x", u); /* { dg-warning "flag" "bad use of + flag" } */  printf ("%+X", u); /* { dg-warning "flag" "bad use of + flag" } */  printf ("%+c", i); /* { dg-warning "flag" "bad use of + flag" } */  printf ("%+s", s); /* { dg-warning "flag" "bad use of + flag" } */  printf ("%+p", p); /* { dg-warning "flag" "bad use of + flag" } */  printf ("%+n", n); /* { dg-warning "flag" "bad use of + flag" } */  /* Uses of the space flag (valid on signed conversions only, and ignored     with +).  */  printf ("% +d", i); /* { dg-warning "use of both|ignored" "use of space and + flags" } */  printf ("%+ d", i); /* { dg-warning "use of both|ignored" "use of space and + flags" } */  printf ("% d% i% f% e% E% g% G\n", i, i, d, d, d, d, d);  printf ("% o", u); /* { dg-warning "flag" "bad use of space flag" } */  printf ("% u", u); /* { dg-warning "flag" "bad use of space flag" } */  printf ("% x", u); /* { dg-warning "flag" "bad use of space flag" } */  printf ("% X", u); /* { dg-warning "flag" "bad use of space flag" } */  printf ("% c", i); /* { dg-warning "flag" "bad use of space flag" } */  printf ("% s", s); /* { dg-warning "flag" "bad use of space flag" } */  printf ("% p", p); /* { dg-warning "flag" "bad use of space flag" } */  printf ("% n", n); /* { dg-warning "flag" "bad use of space flag" } */  /* Uses of the # flag.  */  printf ("%#o%#x%#X%#e%#E%#f%#g%#G", u, u, u, d, d, d, d, d);  printf ("%#d", i); /* { dg-warning "flag" "bad use of # flag" } */  printf ("%#i", i); /* { dg-warning "flag" "bad use of # flag" } */  printf ("%#u", u); /* { dg-warning "flag" "bad use of # flag" } */  printf ("%#c", i); /* { dg-warning "flag" "bad use of # flag" } */  printf ("%#s", s); /* { dg-warning "flag" "bad use of # flag" } */  printf ("%#p", p); /* { dg-warning "flag" "bad use of # flag" } */  printf ("%#n", n); /* { dg-warning "flag" "bad use of # flag" } */  /* Uses of the 0 flag.  */  printf ("%08d%08i%08o%08u%08x%08X%08e%08E%08f%08g%08G", i, i, u, u, u, u,	  d, d, d, d, d);  printf ("%0c", i); /* { dg-warning "flag" "bad use of 0 flag" } */  printf ("%0s", s); /* { dg-warning "flag" "bad use of 0 flag" } */  printf ("%0p", p); /* { dg-warning "flag" "bad use of 0 flag" } */  printf ("%0n", n); /* { dg-warning "flag" "bad use of 0 flag" } */  /* 0 flag ignored with precision for certain types, not others.  */  printf ("%08.5d", i); /* { dg-warning "ignored" "0 flag ignored with precision" } */  printf ("%08.5i", i); /* { dg-warning "ignored" "0 flag ignored with precision" } */  printf ("%08.5o", u); /* { dg-warning "ignored" "0 flag ignored with precision" } */  printf ("%08.5u", u); /* { dg-warning "ignored" "0 flag ignored with precision" } */  printf ("%08.5x", u); /* { dg-warning "ignored" "0 flag ignored with precision" } */  printf ("%08.5X", u); /* { dg-warning "ignored" "0 flag ignored with precision" } */  printf ("%08.5f%08.5e%08.5E%08.5g%08.5G", d, d, d, d, d);  /* 0 flag ignored with - flag.  */  printf ("%-08d", i); /* { dg-warning "flags|ignored" "0 flag ignored with - flag" } */  printf ("%-08i", i); /* { dg-warning "flags|ignored" "0 flag ignored with - flag" } */  printf ("%-08o", u); /* { dg-warning "flags|ignored" "0 flag ignored with - flag" } */  printf ("%-08u", u); /* { dg-warning "flags|ignored" "0 flag ignored with - flag" } */  printf ("%-08x", u); /* { dg-warning "flags|ignored" "0 flag ignored with - flag" } */  printf ("%-08X", u); /* { dg-warning "flags|ignored" "0 flag ignored with - flag" } */  printf ("%-08e", d); /* { dg-warning "flags|ignored" "0 flag ignored with - flag" } */  printf ("%-08E", d); /* { dg-warning "flags|ignored" "0 flag ignored with - flag" } */  printf ("%-08f", d); /* { dg-warning "flags|ignored" "0 flag ignored with - flag" } */  printf ("%-08g", d); /* { dg-warning "flags|ignored" "0 flag ignored with - flag" } */  printf ("%-08G", d); /* { dg-warning "flags|ignored" "0 flag ignored with - flag" } */  /* Various tests of bad argument types.  */  printf ("%d", l); /* { dg-warning "format" "bad argument types" } */  printf ("%*.*d", l, i2, i); /* { dg-warning "field" "bad * argument types" } */  printf ("%*.*d", i1, l, i); /* { dg-warning "field" "bad * argument types" } */  printf ("%ld", i); /* { dg-warning "format" "bad argument types" } */  printf ("%s", n); /* { dg-warning "format" "bad argument types" } */  printf ("%p", i); /* { dg-warning "format" "bad argument types" } */  printf ("%n", p); /* { dg-warning "format" "bad argument types" } */  /* With -pedantic, we want some further checks for pointer targets:     %p should allow only pointers to void (possibly qualified) and     to character types (possibly qualified), but not function pointers     or pointers to other types.  (Whether, in fact, character types are     allowed here is unclear; see thread on comp.std.c, July 2000 for     discussion of the requirements of rules on identical representation,     and of the application of the as if rule with the new va_arg     allowances in C99 to printf.)  Likewise, we should warn if     pointer targets differ in signedness, except in some circumstances     for character pointers.  (In C99 we should consider warning for     char * or unsigned char * being passed to %hhn, even if strictly     legitimate by the standard.)  */  printf ("%p", foo); /* { dg-warning "format" "bad argument types" } */  printf ("%n", un); /* { dg-warning "format" "bad argument types" } */  printf ("%p", n); /* { dg-warning "format" "bad argument types" } */  /* Allow character pointers with %p.  */  printf ("%p%p%p%p", s, ss, us, css);  /* %s allows any character type.  */  printf ("%s%s%s%s", s, ss, us, css);  /* Warning for void * arguments for %s is GCC's historical behavior,     and seems useful to keep, even if some standard versions might be     read to permit it.  */  printf ("%s", p); /* { dg-warning "format" "bad argument types" } */  /* The historical behavior is to allow signed / unsigned types     interchangably as arguments.  For values representable in both types,     such usage may be correct.  For now preserve the behavior of GCC     in such cases.  */  printf ("%d", u);  /* Also allow the same for width and precision arguments.  In the past,     GCC has been inconsistent and allowed unsigned for width but not     precision.  */  printf ("%*.*d", u1, u2, i);  /* Wrong number of arguments.  */  printf ("%d%d", i); /* { dg-warning "arguments" "wrong number of args" } */  printf ("%d", i, i); /* { dg-warning "arguments" "wrong number of args" } */  /* Miscellaneous bogus constructions.  */  printf (""); /* { dg-warning "zero-length" "warning for empty format" } */  printf ("\0"); /* { dg-warning "embedded" "warning for embedded NUL" } */  printf ("%d\0", i); /* { dg-warning "embedded" "warning for embedded NUL" } */  printf ("%d\0%d", i, i); /* { dg-warning "embedded|too many" "warning for embedded NUL" } */  printf (NULL); /* { dg-warning "null" "null format string warning" } */  printf ("%"); /* { dg-warning "trailing" "trailing % warning" } */  printf ("%++d", i); /* { dg-warning "repeated" "repeated flag warning" } */  printf ("%n", cn); /* { dg-warning "constant" "%n with const" } */  printf ((const char *)L"foo"); /* { dg-warning "wide" "wide string" } */  printf ("%n", (int *)0); /* { dg-warning "null" "%n with NULL" } */  printf ("%s", (char *)0); /* { dg-warning "null" "%s with NULL" } */}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日韩国产小视频在线观看| 国产精品女同互慰在线看| 色噜噜狠狠一区二区三区果冻| 粉嫩高潮美女一区二区三区 | 免费成人av在线| 亚洲v精品v日韩v欧美v专区 | 色哟哟一区二区三区| 99精品久久99久久久久| caoporm超碰国产精品| 9i在线看片成人免费| 色婷婷综合激情| 欧美日韩国产乱码电影| 欧美一区二区视频免费观看| 日韩欧美一级精品久久| 精品播放一区二区| 国产欧美一区二区三区在线老狼| 国产精品毛片大码女人| 亚洲色图欧美在线| 亚洲第一狼人社区| 免费成人在线影院| 国产盗摄一区二区三区| 9i在线看片成人免费| 欧美揉bbbbb揉bbbbb| 91精品国产色综合久久不卡蜜臀| 欧美精品一区二区在线播放| 中文字幕不卡在线| 亚洲一区二区精品久久av| 免播放器亚洲一区| 国产精品综合视频| 一本久久a久久免费精品不卡| 欧美精品丝袜中出| 久久青草国产手机看片福利盒子| 国产精品少妇自拍| 亚洲一区二区精品3399| 久久国产麻豆精品| 99精品久久久久久| 欧美一区二区三区播放老司机| 精品1区2区在线观看| 亚洲欧洲99久久| 亚洲成a人v欧美综合天堂下载 | 日本道色综合久久| 欧美一卡二卡在线| 国产欧美一区二区精品忘忧草| 亚洲综合区在线| 国产主播一区二区| 日本国产一区二区| 久久久久免费观看| 亚洲五码中文字幕| 国产成人精品免费在线| 欧美怡红院视频| 国产日韩欧美一区二区三区综合| 亚洲综合图片区| 国产精品夜夜爽| 欧美性猛交xxxx黑人交| 国产欧美精品日韩区二区麻豆天美| 一区二区三区欧美日| 国模娜娜一区二区三区| 91香蕉视频污在线| 国产亚洲欧美日韩在线一区| 亚洲r级在线视频| 成人激情免费网站| 欧美mv日韩mv国产网站app| 日韩毛片一二三区| 国产精品原创巨作av| 欧美日韩高清在线播放| 国产精品福利一区二区三区| 美国精品在线观看| 欧美午夜片在线看| 中文字幕一区二区三区av| 精品无码三级在线观看视频| 欧美美女直播网站| 亚洲精品v日韩精品| www.日韩精品| 久久久高清一区二区三区| 天堂va蜜桃一区二区三区漫画版| 色综合久久久久综合体| 国产精品拍天天在线| 国产一区二区调教| 日韩三级在线观看| 同产精品九九九| 欧美午夜精品一区| 伊人开心综合网| 99v久久综合狠狠综合久久| 久久精品亚洲乱码伦伦中文 | 色婷婷精品久久二区二区蜜臂av | 国产一二精品视频| 欧美一二三四区在线| 亚洲高清久久久| 色悠久久久久综合欧美99| 国产精品不卡在线| 国产91露脸合集magnet | 亚洲一区二区三区四区在线免费观看 | 午夜精品影院在线观看| 欧美视频三区在线播放| 亚洲资源中文字幕| 日本乱人伦aⅴ精品| 亚洲狼人国产精品| 94-欧美-setu| 亚洲欧美经典视频| 91丨九色porny丨蝌蚪| 自拍偷拍国产精品| 色八戒一区二区三区| 一区二区三区免费观看| 在线亚洲高清视频| 亚洲福利视频一区二区| 欧美精品欧美精品系列| 日韩av一区二| 日韩欧美卡一卡二| 韩国理伦片一区二区三区在线播放| 日韩精品一区二区三区四区视频| 麻豆高清免费国产一区| 26uuu久久综合| 国产精品538一区二区在线| 国产婷婷色一区二区三区在线| 国产91富婆露脸刺激对白| 国产精品私房写真福利视频| 99国产精品一区| 一区二区三区免费在线观看| 欧美精品黑人性xxxx| 久久99精品久久久久婷婷| 久久精品免视看| 97精品视频在线观看自产线路二| 亚洲综合激情另类小说区| 欧美日韩一卡二卡| 久久成人18免费观看| 国产欧美在线观看一区| 色综合欧美在线视频区| 日日夜夜免费精品| 久久久精品2019中文字幕之3| 不卡的av电影在线观看| 亚洲夂夂婷婷色拍ww47| 欧美丰满美乳xxx高潮www| 国产剧情一区二区三区| 亚洲天堂av一区| 欧美女孩性生活视频| 国产九色精品成人porny| 亚洲色图一区二区三区| 3d动漫精品啪啪1区2区免费| 国产精品91一区二区| 一区二区三区在线免费播放| 日韩美女在线视频| av电影天堂一区二区在线观看| 香蕉加勒比综合久久| 久久人人爽人人爽| 在线观看国产91| 麻豆91在线播放免费| 亚洲欧洲精品成人久久奇米网| 欧美久久久一区| 成人涩涩免费视频| 视频一区免费在线观看| 国产精品麻豆99久久久久久| 欧美日本国产一区| 成人午夜视频福利| 美女性感视频久久| 亚洲美女一区二区三区| 精品999久久久| 欧美性感一区二区三区| 国产ts人妖一区二区| 午夜激情综合网| 一区在线观看免费| 欧美成人猛片aaaaaaa| 色综合天天综合色综合av | 日韩久久免费av| 色综合久久中文字幕| 国产永久精品大片wwwapp| 亚洲国产精品影院| 国产精品盗摄一区二区三区| 日韩欧美电影一区| 欧美日韩一区高清| 99精品视频在线免费观看| 国产一区在线视频| 日本sm残虐另类| 亚洲一区二区视频| 18欧美亚洲精品| 国产亚洲欧美中文| 欧美xxxxx裸体时装秀| 欧美日本韩国一区二区三区视频| 91免费看视频| 国产成人日日夜夜| 久久精品国产99| 天天亚洲美女在线视频| 亚洲精品国产a久久久久久| 日本一区二区综合亚洲| 欧美草草影院在线视频| 56国语精品自产拍在线观看| 在线精品视频免费播放| 色综合中文综合网| 欧美日韩一区二区三区四区五区| 成人av电影在线观看| 国产乱色国产精品免费视频| 久久99精品国产.久久久久| 日韩电影在线看| 亚洲国产视频直播| 一区二区三区欧美久久| 1024国产精品| 亚洲丝袜另类动漫二区| 日韩理论片网站| 中文字幕一区二区三区蜜月| 国产精品毛片大码女人| 国产精品久久久久一区二区三区|