| /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/objc.dg/ |
| H A D | comp-types-4.m | 25 obj = i; /* { dg-warning "pointer from integer without a cast" } */ 26 obj = j; /* { dg-warning "incompatible pointer type" } */ 28 obj_p = i; /* { dg-warning "pointer from integer without a cast" } */ 29 obj_p = j; /* { dg-warning "incompatible pointer type" } */ 31 obj_c = i; /* { dg-warning "pointer from integer without a cast" } */ 32 obj_c = j; /* { dg-warning "incompatible pointer type" } */ 34 obj_C = i; /* { dg-warning "pointer from integer without a cast" } */ 35 obj_C = j; /* { dg-warning "incompatible pointer type" } */ 37 i = obj; /* { dg-warning "integer from pointer without a cast" } */ 38 i = obj_p; /* { dg-warning "integer from pointer without a cast" } */ [all …]
|
| H A D | comp-types-1.m | 26 generate a warning. */ 33 warning, unless done from an 'id'. */ 35 obj_c = obj_p; /* { dg-warning "incompatible pointer type" } */ 36 obj_c = obj_cp; /* { dg-warning "incompatible pointer type" } */ 37 obj_c = obj_C; /* { dg-warning "incompatible pointer type" } */ 40 warning if done from a 'MyClass *' (which doesn't implement 44 obj_p = obj_c; /* { dg-warning "does not implement" } */ /*FIXME: Duplicated*/ 46 obj_p = obj_C; /* { dg-warning "incompatible pointer type" } */ 49 a warning, unless done from an 'id' */ 51 obj_cp = obj_c; /* { dg-warning "incompatible pointer type" } */ [all …]
|
| H A D | comp-types-3.m | 28 obj_a = obj_b; /* { dg-warning "does not conform" } */ 32 obj_b = obj_a; /* { dg-warning "does not conform" } */ 34 obj_b = obj_ac; /* { dg-warning "does not conform" } */ 36 obj_ab = obj_a; /* { dg-warning "does not conform" } */ 37 obj_ab = obj_b; /* { dg-warning "does not conform" } */ 38 obj_ab = obj_ac; /* { dg-warning "does not conform" } */ 40 obj_ac = obj_a; /* { dg-warning "does not conform" } */ 41 obj_ac = obj_b; /* { dg-warning "does not conform" } */ 42 obj_ac = obj_ab; /* { dg-warning "does not conform" } */ 44 if (obj_a == obj_b) ; /* { dg-warning "lacks a cast" } */ [all …]
|
| /openbsd-src/gnu/usr.bin/perl/lib/ |
| H A D | diagnostics.t | 26 open *whatever, ">", \my $warning 33 like $warning, qr/\(W overflow\) You called/, '%0.f patterns'; 37 $warning = ''; 39 like $warning, qr/"accept" in perlfunc/, 'L<foo/bar> links'; 43 $warning = ''; 46 like $warning, qr/lex_stuff_pvn or similar/, 'L<foo|bar/baz>'; 50 $warning = ''; 52 like $warning, qr/W recursion/, 55 $warning = ''; 57 like $warning, qr/W recursion/, [all …]
|
| /openbsd-src/regress/gnu/egcs/gcc-bounds/ |
| H A D | builtins-1.c.exp.gcc4 | 2 builtins-1.c:12: warning: array size (100) smaller than bound length (200) 3 builtins-1.c:12: warning: array size (100) smaller than bound length (200) 4 builtins-1.c:13: warning: array size (50) smaller than bound length (100) 5 builtins-1.c:13: warning: array size (50) smaller than bound length (100) 6 builtins-1.c:14: warning: array size (50) smaller than bound length (105) 7 builtins-1.c:14: warning: array size (100) smaller than bound length (105) 8 builtins-1.c:14: warning: array size (50) smaller than bound length (105) 9 builtins-1.c:14: warning: array size (100) smaller than bound length (105) 10 builtins-1.c:15: warning: array size (100) smaller than bound length (500) 11 builtins-1.c:15: warning: array size (100) smaller than bound length (500) [all …]
|
| H A D | builtins-1.c.exp.gcc3 | 2 builtins-1.c:12: warning: array size (100) smaller than bound length (200) 3 builtins-1.c:13: warning: array size (50) smaller than bound length (100) 4 builtins-1.c:14: warning: array size (50) smaller than bound length (105) 5 builtins-1.c:14: warning: array size (100) smaller than bound length (105) 6 builtins-1.c:15: warning: array size (100) smaller than bound length (500) 7 builtins-1.c:16: warning: array size (50) smaller than bound length (1000) 8 builtins-1.c:17: warning: array size (50) smaller than bound length (1234) 9 builtins-1.c:18: warning: array size (100) smaller than bound length (5432) 10 builtins-1.c:19: warning: array size (100) smaller than bound length (2345) 11 builtins-1.c:20: warning: array size (100) smaller than required length (4 * 123)
|
| /openbsd-src/gnu/usr.bin/perl/cpan/bignum/t/ |
| H A D | option_l-bigfloat.t | 12 # Catch warning. 14 my $warning; 16 $warning = $_[0]; 21 $warning = ""; 27 is($warning, "", "didn't get a warning"); 30 $warning = ""; 36 is($warning, "", "didn't get a warning"); 39 $warning = ""; 45 is($warning, "", "didn't get a warning"); 48 $warning = ""; [all …]
|
| H A D | option_l-bignum.t | 12 # Catch warning. 14 my $warning; 16 $warning = $_[0]; 21 $warning = ""; 27 is($warning, "", "didn't get a warning"); 30 $warning = ""; 36 is($warning, "", "didn't get a warning"); 39 $warning = ""; 45 is($warning, "", "didn't get a warning"); 48 $warning = ""; [all …]
|
| H A D | option_l-bigint.t | 12 # Catch warning. 14 my $warning; 16 $warning = $_[0]; 21 $warning = ""; 27 is($warning, "", "didn't get a warning"); 30 $warning = ""; 36 is($warning, "", "didn't get a warning"); 39 $warning = ""; 45 is($warning, "", "didn't get a warning"); 48 $warning = ""; [all …]
|
| H A D | option_l-bigrat.t | 12 # Catch warning. 14 my $warning; 16 $warning = $_[0]; 21 $warning = ""; 27 is($warning, "", "didn't get a warning"); 30 $warning = ""; 36 is($warning, "", "didn't get a warning"); 39 $warning = ""; 45 is($warning, "", "didn't get a warning"); 48 $warning = ""; [all …]
|
| /openbsd-src/gnu/usr.bin/perl/dist/Devel-PPPort/parts/inc/ |
| H A D | warn | 247 my $warning; 249 $SIG{'__WARN__'} = sub { $warning = $_[0] }; 251 $warning = ''; 253 ok(ivers($]) >= ivers("5.004") ? $warning =~ /^warner bar:42/ : $warning eq ''); 255 $warning = ''; 257 ok(ivers($]) >= ivers("5.004") ? $warning =~ /^Perl_warner bar:42/ : $warning eq ''); 259 $warning = ''; 261 ok(ivers($]) >= ivers("5.004") ? $warning =~ /^Perl_warner_nocontext bar:42/ : $warning eq ''); 263 $warning = ''; 265 is($warning, ''); [all …]
|
| /openbsd-src/gnu/usr.bin/perl/t/op/ |
| H A D | time.t | 175 my $warning; 176 local $SIG{__WARN__} = sub { $warning .= join "\n", @_; }; 181 $warning = ''; 183 like $warning, qr/^gmtime(.*) too large/; 185 $warning = ''; 187 like $warning, qr/^localtime(.*) too large/; 189 $warning = ''; 191 like $warning, qr/^gmtime(.*) too small/; 193 $warning = ''; 195 like $warning, qr/^localtime(.*) too small/; [all …]
|
| H A D | attrproto.t | 25 "First warning is bad prototype - bar"; 27 "Second warning is bad prototype - bad"; 29 "Third warning is Prototype overridden"; 32 # The override warning should not be hidden by no warnings (similar to prototype changed warnings) 39 "First warning is Prototype overridden"; 48 "Shifting off warning for the 'ignored' prototype"; 50 "Attempting to redeclare triggers Illegal character warning"; 52 "Shifting off Prototype overridden warning"; 54 "Attempting to redeclare triggers prototype mismatch warning against first prototype"; 63 "Attempting to redeclare triggers Illegal character warning"; [all...] |
| /openbsd-src/gnu/gcc/gcc/config/ |
| H A D | sol2-c.c | 94 warning (0, "malformed %<#pragma align%>, ignoring"); in solaris_pragma_align() 103 warning (0, "invalid alignment for %<#pragma align%>, ignoring"); in solaris_pragma_align() 110 warning (0, "malformed %<#pragma align%>, ignoring"); in solaris_pragma_align() 118 warning (0, "%<#pragma align%> must appear before the declaration of " in solaris_pragma_align() 130 warning (0, "malformed %<#pragma align%>"); in solaris_pragma_align() 137 warning (0, "junk at end of %<#pragma align%>"); in solaris_pragma_align() 142 warning (0, "malformed %<#pragma align%>"); in solaris_pragma_align() 158 warning (0, "malformed %<#pragma init%>, ignoring"); in solaris_pragma_init() 165 warning (0, "malformed %<#pragma init%>, ignoring"); in solaris_pragma_init() 188 warning (0, "malformed %<#pragma init%>"); in solaris_pragma_init() [all …]
|
| /openbsd-src/gnu/gcc/gcc/config/v850/ |
| H A D | v850-c.c | 67 warning (OPT_Wpragmas, "#pragma GHS endXXXX found without " in pop_data_area() 70 warning (OPT_Wpragmas, "#pragma GHS endXXX does not match " in pop_data_area() 96 warning (0, "cannot set interrupt attribute: no current function"); in mark_current_function_as_interrupt() 104 warning (0, "cannot set interrupt attribute: no such identifier"); in mark_current_function_as_interrupt() 149 warning (OPT_Wpragmas, "junk at end of #pragma ghs section"); in ghs_pragma_section() 166 warning (0, "unrecognized section name \"%s\"", sect); in ghs_pragma_section() 181 warning (OPT_Wpragmas, "malformed #pragma ghs section"); in ghs_pragma_section() 200 warning (OPT_Wpragmas, "junk at end of #pragma ghs interrupt"); in ghs_pragma_interrupt() 211 warning (OPT_Wpragmas, "junk at end of #pragma ghs starttda"); in ghs_pragma_starttda() 222 warning (OPT_Wpragmas, "junk at end of #pragma ghs startsda"); in ghs_pragma_startsda() [all …]
|
| /openbsd-src/gnu/usr.bin/perl/t/porting/ |
| H A D | deprecation.t | 96 my $warning = "nada"; 97 local $SIG{__WARN__} = sub { $warning = $_[0] }; 105 like($warning, 107 "Got expected deprecation warning"); 113 my $warning = "nada"; 114 local $SIG{__WARN__} = sub { $warning = $_[0] }; 122 like($warning, qr/nada/, 123 "no warnings 'deprecated'; silenced deprecation warning as expected"); 130 my $warning = "nada"; 131 local $SIG{__WARN__} = sub { $warning [all...] |
| /openbsd-src/gnu/usr.bin/gcc/gcc/config/v850/ |
| H A D | v850-c.c | 67 warning ("#pragma GHS endXXXX found without previous startXXX"); 69 warning ("#pragma GHS endXXX does not match previous startXXX"); 94 warning ("cannot set interrupt attribute: no current function"); in mark_current_function_as_interrupt() 102 warning ("cannot set interrupt attribute: no such identifier"); in mark_current_function_as_interrupt() 148 warning ("junk at end of #pragma ghs section"); 165 warning ("unrecognized section name \"%s\"", sect); 180 warning ("malformed #pragma ghs section"); 200 warning ("junk at end of #pragma ghs interrupt"); 212 warning ("junk at end of #pragma ghs starttda"); 224 warning ("junk at end of #pragma ghs startsda"); [all …]
|
| /openbsd-src/gnu/usr.bin/binutils/gdb/ |
| H A D | hppa-hpux-tdep.c | 120 warning ("Unable to find branch in parameter relocation stub.\n"); in hppa32_hpux_in_solib_call_trampoline() 246 warning ("Unable to find branch in parameter relocation stub.\n"); in hppa_hpux_in_solib_return_trampoline() 386 warning ("Unable to find branch in linker stub"); in hppa_hpux_skip_trampoline_code() 403 warning ("Unable to find ldil X,%%r1 before ble Y(%%sr4,%%r1)."); in hppa_hpux_skip_trampoline_code() 439 warning ("Unable to find symbol for 0x%lx", loc); in hppa_hpux_skip_trampoline_code() 446 warning ("Unable to find library symbol for %s\n", in hppa_hpux_skip_trampoline_code() 476 warning ("Unable to find restore of %%rp before bv (%%rp)."); in hppa_hpux_skip_trampoline_code() 568 warning ("Unable to find __d_pid symbol in object file."); in setup_d_pid_in_inferior() 569 warning ("Suggest linking executable with -g (links in /opt/langtools/lib/end.o)."); in setup_d_pid_in_inferior() 577 warning ("Unable to write __d_pid"); in setup_d_pid_in_inferior() [all …]
|
| H A D | armnbsd-nat.c | 90 warning (_("unable to fetch general register")); in fetch_register() 141 warning (_("unable to fetch general registers")); in fetch_regs() 159 warning (_("unable to fetch floating-point register")); in fetch_fp_register() 189 warning (_("unable to fetch general registers")); in fetch_fp_regs() 225 warning (_("unable to fetch general registers")); in store_register() 286 warning (_("unable to write register %d to inferior"), regno); in store_register() 333 warning (_("unable to store general registers")); in store_regs() 347 warning (_("unable to fetch floating-point registers")); in store_fp_register() 368 warning (_("unable to write register %d to inferior"), regno); in store_fp_register() 390 warning (_("unable to store floating-point registers")); in store_fp_regs() [all …]
|
| /openbsd-src/gnu/usr.bin/perl/t/run/ |
| H A D | switcht.t | 19 my $warning; 20 local $SIG{__WARN__} = sub { $warning = join "\n", @_; }; 27 like( $warning, qr/^Insecure .* $Tmsg/, ' taint warn' ); 31 $warning = ''; 34 is( $warning, '', ' no warnings "taint"' ); 44 like( $warning, qr/^Insecure dependency in open $Tmsg/, 'open > taint warn' ); 48 like( $warning, qr/^Insecure dependency in unlink $Tmsg/,
|
| /openbsd-src/gnu/llvm/clang/docs/analyzer/developer-docs/ |
| H A D | DebugChecks.rst | 94 clang_analyzer_eval(x); // expected-warning{{UNKNOWN}} 96 clang_analyzer_eval(x); // expected-warning{{TRUE}} 106 least once (by passing 'true' and expecting a warning), or to assert that a 107 function is never inlined (by passing 'false' and expecting no warning). The 120 clang_analyzer_checkInlined(true); // expected-warning{{TRUE}} 125 clang_analyzer_checkInlined(false); // no-warning (not inlined) 128 clang_analyzer_eval(value == 42); // expected-warning{{TRUE}} 133 Generate a warning if this line of code gets reached by the analyzer. 138 clang_analyzer_warnIfReached(); // expected-warning{{REACHABLE}} 141 clang_analyzer_warnIfReached(); // no-warning [all …]
|
| /openbsd-src/gnu/usr.bin/perl/cpan/Test-Simple/t/Legacy/ |
| H A D | skip.t | 56 my $warning; 57 local $SIG{__WARN__} = sub { $warning = join "", @_ }; 66 is( $warning, "skip() needs to know \$how_many tests are in the ". 88 my $warning = ''; 89 local $SIG{__WARN__} = sub { $warning .= join "", @_ }; 97 like $warning, qr/^skip\(\) was passed a non-numeric number of tests/;
|
| H A D | plan_no_plan.t | 22 my $warning = ''; 23 local $SIG{__WARN__} = sub { $warning = join "", @_ }; 28 is( $warning, '', 'skip with no "how_many" ok with no_plan' ); 31 $warning = ''; 39 is( $warning, '', 'skip with no "how_many" ok with no_plan' );
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/ |
| H A D | c-pragma.c | 36 #define GCC_BAD(msgid) do { warning (msgid); return; } while (0) 37 #define GCC_BAD2(msgid, arg) do { warning (msgid, arg); return; } while (0) 107 warning ("\ 125 warning ("\ 233 warning ("junk at end of '#pragma pack'"); 337 warning ("junk at end of #pragma weak"); 372 warning ("malformed #pragma redefine_extname, ignored"); 377 warning ("malformed #pragma redefine_extname, ignored"); 382 warning ("junk at end of #pragma redefine_extname"); 389 warning ("#pragma redefine_extname conflicts with declaration"); [all …]
|
| /openbsd-src/gnu/usr.bin/perl/cpan/Test-Harness/t/ |
| H A D | results.t | 19 my $warning; 20 $SIG{__WARN__} = sub { $warning = shift }; 46 $warning = ''; 48 like $warning, qr/^\Qpassed() is deprecated. Please use "is_ok()"/, 216 $warning = ''; 219 like $warning, 224 $warning = ''; 227 like $warning,
|