Lines Matching full:warning
16 printf("%Ld", notLongEnough); // expected-warning {{format specifies type 'long long' but the argument has type 'long'}}
20 // expected-warning@-4 {{length modifier 'L' results in undefined behavior or no effect with 'd' conversion specifier}}
23 // expected-warning@-6 {{length modifier 'L' results in undefined behavior or no effect with 'd' conversion specifier}}
28 printf("%Z\n", quiteLong); // expected-warning{{invalid conversion specifier 'Z'}}
34 printf("%Lc", 'a'); // expected-warning {{length modifier 'L' results in undefined behavior or no effect with 'c' conversion specifier}}
35 printf("%Ls", "a"); // expected-warning {{length modifier 'L' results in undefined behavior or no effect with 's' conversion specifier}}
41 printf("%Ld", y); // no-warning
42 printf("%Lu", y); // no-warning
43 printf("%Lx", y); // no-warning
44 printf("%Ld", x); // no-warning
45 printf("%Lu", x); // no-warning
46 printf("%Lx", x); // no-warning
47 printf("%Ls", "hello"); // expected-warning {{length modifier 'L' results in undefined behavior or no effect with 's' conversion specifier}}
51 scanf("%Ld", y); // no-warning
52 scanf("%Lu", y); // no-warning
53 scanf("%Lx", y); // no-warning
54 scanf("%Ld", x); // no-warning
55 scanf("%Lu", x); // no-warning
56 scanf("%Lx", x); // no-warning
57 scanf("%Ls", "hello"); // expected-warning {{length modifier 'L' results in undefined behavior or no effect with 's' conversion specifier}}