/openbsd-current/gnu/usr.bin/perl/cpan/Test-Harness/t/sample-tests/ |
H A D | shbang_misparse | 9 my $warning = ''; 10 $SIG{__WARN__} = sub { $warning .= $_[0] }; 12 print $warning ? "not ok 2\n" : "ok 2\n";
|
/openbsd-current/gnu/usr.bin/gcc/gcc/testsuite/gcc.dg/cpp/ |
H A D | cmdlne-M.c | 8 #warning bogus /* { dg-bogus "warning" "warning not suppressed" } */
|
/openbsd-current/regress/usr.sbin/syslogd/ |
H A D | args-selector.pl | 15 foreach my $sev (qw(notice warning err)) { 29 "*.warning" => [ grep { /\.(warning|err)$/ } @messages], 33 "local5.*" => [qw(local5.notice local5.warning local5.err)], 34 "local5.info" => [qw(local5.notice local5.warning local5.err)], 35 "local5.notice" => [qw(local5.notice local5.warning local5.err)], 36 "local5.warning" => [qw(local5.warning local5.err)], 40 "local5.warning;local5.err" => [qw(local5.err)], 41 "local5.err;local5.warning" [all...] |
/openbsd-current/gnu/usr.bin/perl/cpan/Test-Simple/t/Legacy/Builder/ |
H A D | carp.t | 25 my $warning = ''; 27 $warning .= join '', @_; 31 is $warning, sprintf "bar at %s line %s.\n", $0, __LINE__ - 1;
|
/openbsd-current/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-current/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, q [all...] |
/openbsd-current/gnu/gcc/gcc/config/m32c/ |
H A D | m32c-pragma.c | 64 warning (0, "junk at end of #pragma GCC memregs [0..16]"); 70 warning (0, 82 warning (0, "#pragma GCC memregs takes a number [0..16]");
|
/openbsd-current/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 ". 68 'skip without $how_many warning' ); 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 | no_plan.t | 31 my $warning = ''; 32 local $SIG{__WARN__} = sub { $warning .= join '', @_ }; 36 is( $warning, "no_plan takes no arguments at $0 line 31.\n" );
|
H A D | More.t | 29 my $warning; 30 local $SIG{__WARN__}= sub { $warning = $_[0] }; 32 is($warning, "Use of apostrophe as package separator was deprecated in Perl 5.37.9,\n" 36 "Got expected warning from isn::t() under use warnings"); 40 my $warning; 41 local $SIG{__WARN__}= sub { $warning = $_[0] }; 43 is($warning, undef, "No warnings from isn::t() under no warnings deprecated");
|
/openbsd-current/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, q [all...] |
/openbsd-current/gnu/llvm/compiler-rt/lib/builtins/ |
H A D | fixunsxfdi.c | 29 // MSVC throws a warning about 'uninitialized variable use' here, 31 #pragma warning(push) 32 #pragma warning(disable : 4700) 47 #pragma warning(pop)
|
H A D | fixunsxfsi.c | 29 // MSVC throws a warning about 'uninitialized variable use' here, 31 #pragma warning(push) 32 #pragma warning(disable : 4700) 47 #pragma warning(pop)
|
H A D | fixxfdi.c | 28 // MSVC throws a warning about 'uninitialized variable use' here, 30 #pragma warning(push) 31 #pragma warning(disable : 4700) 51 #pragma warning(pop)
|
/openbsd-current/gnu/gcc/gcc/ |
H A D | errors.h | 22 /* warning, error, and fatal. These definitions are suitable for use 34 version of warning(). For those, you'd pass an OPT_W* value from 37 extern void warning (int, const char *, ...) ATTRIBUTE_PRINTF_2;
|
/openbsd-current/gnu/usr.bin/gcc/gcc/ |
H A D | errors.h | 21 /* warning, error, and fatal. These definitions are suitable for use 32 extern void warning PARAMS ((const char *, ...));
|
/openbsd-current/gnu/usr.bin/gcc/gcc/config/i370/ |
H A D | i370-c.c | 53 warning ("junk at end of #pragma map"); 59 warning ("malformed #pragma map, ignored");
|
/openbsd-current/gnu/gcc/gcc/config/v850/ |
H A D | v850-c.c | 69 warning (OPT_Wpragmas, "#pragma GHS endXXXX found without " 72 warning (OPT_Wpragmas, "#pragma GHS endXXX does not match " 98 warning (0, "cannot set interrupt attribute: no current function"); 106 warning (0, "cannot set interrupt attribute: no such identifier"); 152 warning (OPT_Wpragmas, "junk at end of #pragma ghs section"); 169 warning (0, "unrecognized section name \"%s\"", sect); 184 warning (OPT_Wpragmas, "malformed #pragma ghs section"); 203 warning (OPT_Wpragmas, "junk at end of #pragma ghs interrupt"); 214 warning (OPT_Wpragmas, "junk at end of #pragma ghs starttda"); 225 warning (OPT_Wpragma [all...] |
/openbsd-current/gnu/usr.bin/gcc/gcc/config/v850/ |
H A D | v850-c.c | 69 warning ("#pragma GHS endXXXX found without previous startXXX"); 71 warning ("#pragma GHS endXXX does not match previous startXXX"); 96 warning ("cannot set interrupt attribute: no current function"); 104 warning ("cannot set interrupt attribute: no such identifier"); 151 warning ("junk at end of #pragma ghs section"); 168 warning ("unrecognized section name \"%s\"", sect); 183 warning ("malformed #pragma ghs section"); 203 warning ("junk at end of #pragma ghs interrupt"); 215 warning ("junk at end of #pragma ghs starttda"); 227 warning ("jun [all...] |
/openbsd-current/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-current/gnu/gcc/gcc/config/rs6000/ |
H A D | aix43.h | 39 warning (0, "-maix64 and POWER architecture are incompatible"); \ 44 warning (0, "-maix64 requires PowerPC64 architecture remain enabled"); \ 50 warning (0, "soft-float and long-double-128 are incompatible"); \
|
/openbsd-current/gnu/usr.bin/gcc/gcc/config/i960/ |
H A D | i960-c.c | 66 warning ("sorry, not implemented: #pragma align NAME=SIZE"); 71 warning ("malformed #pragma align - ignored"); 109 warning ("sorry, not implemented: #pragma noalign NAME");
|
/openbsd-current/gnu/gcc/libstdc++-v3/include/backward/ |
H A D | backward_warning.h | 32 #warning This file includes at least one deprecated or antiquated header. \ 36 <iostream.h>. To disable this warning use -Wno-deprecated.
|
/openbsd-current/gnu/lib/libstdc++/libstdc++/include/backward/ |
H A D | backward_warning.h | 32 #warning This file includes at least one deprecated or antiquated header. \ 36 <strstream.h>. To disable this warning use -Wno-deprecated.
|
/openbsd-current/gnu/usr.bin/binutils/gdb/ |
H A D | core-regset.c | 72 warning ("Wrong size gregset in core file."); 82 warning ("Wrong size fpregset in core file.");
|