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

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

?? c90-printf-1.c

?? gcc-you can use this code to learn something about gcc, and inquire further into linux,
?? 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一区二区三区免费野_久草精品视频
国产网站一区二区| 99精品黄色片免费大全| 国产成人综合网站| 在线播放欧美女士性生活| 欧美韩国日本不卡| 奇米色777欧美一区二区| 91在线视频网址| 国产午夜一区二区三区| 日韩国产精品久久久| 色偷偷一区二区三区| 久久精品日产第一区二区三区高清版 | 亚洲男同性恋视频| 狠狠色伊人亚洲综合成人| 欧美理论片在线| 亚洲欧美日韩在线| 成年人国产精品| 欧美激情一区三区| 国产乱码字幕精品高清av | 欧美精品国产精品| 一区二区欧美国产| 97久久精品人人爽人人爽蜜臀| 久久久亚洲高清| 国产一区二区精品久久99| 欧美电影精品一区二区| 青青草精品视频| 91精品午夜视频| 午夜国产精品影院在线观看| 欧美日韩欧美一区二区| 夜夜操天天操亚洲| 欧美视频在线不卡| 婷婷国产v国产偷v亚洲高清| 欧美中文字幕一二三区视频| 亚洲在线视频一区| 欧美日韩一区久久| 爽好多水快深点欧美视频| 欧美日本乱大交xxxxx| 日韩国产成人精品| 日韩视频免费观看高清完整版| 日本sm残虐另类| 日韩欧美国产成人一区二区| 美腿丝袜亚洲一区| 精品国产凹凸成av人网站| 国产综合色产在线精品| 中文字幕第一区综合| 97久久超碰精品国产| 亚洲一区二区三区四区在线 | va亚洲va日韩不卡在线观看| 亚洲色图丝袜美腿| 欧美在线视频全部完| 成人激情免费网站| 亚洲资源中文字幕| 欧美一二三四在线| 国产高清在线观看免费不卡| 亚洲欧洲成人自拍| 欧美日本韩国一区二区三区视频| 久久激五月天综合精品| 日本一区二区久久| 欧美曰成人黄网| 久久se这里有精品| 亚洲欧洲日韩综合一区二区| 欧美日韩在线播放| 国产精品一二三四区| 亚洲免费成人av| 日韩欧美一区二区免费| 成人综合在线视频| 亚洲福利一区二区三区| 久久精品亚洲一区二区三区浴池| 91丝袜美腿高跟国产极品老师| 手机精品视频在线观看| 欧美国产国产综合| 日韩欧美一区二区在线视频| 99久久精品国产一区二区三区| 丝袜亚洲另类欧美综合| 国产精品污网站| 91精品国产综合久久福利 | 欧美激情资源网| 欧美卡1卡2卡| 99re热这里只有精品免费视频| 日韩av一级电影| 亚洲欧美国产77777| 欧美精品一区二区精品网| 91看片淫黄大片一级| 国产一区二区三区最好精华液| 亚洲欧美日韩一区| 久久精品男人天堂av| 9191久久久久久久久久久| 成人黄色av电影| 激情综合一区二区三区| 亚洲成人资源在线| 亚洲嫩草精品久久| 国产欧美日本一区视频| 欧美成人bangbros| 欧美日韩视频在线第一区| 色综合天天在线| 国产精品69久久久久水密桃| 麻豆精品久久久| 视频一区中文字幕国产| 亚洲电影视频在线| 亚洲另类在线制服丝袜| 国产精品久久久久天堂| 久久精品欧美日韩精品| 精品国产成人系列| 精品国产乱码久久久久久牛牛 | 91激情五月电影| 床上的激情91.| 高清shemale亚洲人妖| 国产精品中文字幕一区二区三区| 琪琪一区二区三区| 日本欧美肥老太交大片| 人人狠狠综合久久亚洲| 91同城在线观看| 成人动漫av在线| 99久久精品免费看国产| 国产激情一区二区三区四区| 国产精华液一区二区三区| 国产91丝袜在线播放九色| 国产精品一区一区| 国产成人综合自拍| av日韩在线网站| 色天使色偷偷av一区二区| 在线观看区一区二| 欧美久久久一区| 欧美大片在线观看| xnxx国产精品| 国产精品美女久久福利网站| 亚洲蜜臀av乱码久久精品| 亚洲愉拍自拍另类高清精品| 亚洲成av人片www| 奇米影视在线99精品| 久久av中文字幕片| 成人久久久精品乱码一区二区三区| 成人性视频网站| 欧美在线|欧美| 欧美成人国产一区二区| 中文字幕精品在线不卡| 亚洲综合免费观看高清完整版在线 | 欧美日本精品一区二区三区| 日韩小视频在线观看专区| 国产三级精品三级在线专区| 亚洲视频免费在线观看| 婷婷综合五月天| 国产在线精品国自产拍免费| 99国产精品久| 777午夜精品视频在线播放| 久久蜜桃av一区精品变态类天堂| 18成人在线视频| 日韩成人午夜精品| 成人一区二区三区在线观看| 91国模大尺度私拍在线视频| 欧美岛国在线观看| 亚洲黄色在线视频| 久久99久久99| 色婷婷综合五月| 欧美mv和日韩mv的网站| 亚洲欧美在线观看| 激情综合色综合久久综合| 99re8在线精品视频免费播放| 91精品国产一区二区三区| 国产精品久久久久久福利一牛影视| 亚洲18影院在线观看| 成人深夜在线观看| 制服丝袜国产精品| 亚洲女性喷水在线观看一区| 蜜桃视频在线观看一区| 91久久精品一区二区| 国产女人18毛片水真多成人如厕| 亚洲国产另类av| 成人福利视频网站| 26uuu精品一区二区| 婷婷六月综合亚洲| 色综合天天综合网天天看片 | 欧美一区二区视频在线观看| 国产精品久久久久久久久快鸭 | 91免费视频大全| 精品国产乱码久久久久久久久| 亚洲一区在线免费观看| youjizz久久| 国产亚洲美州欧州综合国| 久久99精品久久只有精品| 欧美久久久久久蜜桃| 亚洲最大成人网4388xx| 91亚洲资源网| 中文字幕高清不卡| 国产另类ts人妖一区二区| 日韩三级精品电影久久久| 日韩在线播放一区二区| 欧美性猛片xxxx免费看久爱| 成人欧美一区二区三区黑人麻豆 | 麻豆成人91精品二区三区| 91黄色激情网站| 亚洲三级在线免费| 99久久99久久精品国产片果冻| 久久久久久99久久久精品网站| 久久国产福利国产秒拍| 日韩美女天天操| 精品伊人久久久久7777人| 精品三级av在线| 韩国三级中文字幕hd久久精品| 精品国产乱码久久久久久浪潮| 激情伊人五月天久久综合|