summaryrefslogtreecommitdiff
path: root/t/pragma/warn/util
blob: 649a2929ced6ab52a6631c83a96d6bb979eaebb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
  util.c AOK
 
     Illegal octal digit ignored 
	my $a = oct "029" ;

     Illegal hex digit ignored 
	my $a = hex "0xv9" ;


__END__
# util.c
use warning 'octal' ;
my $a = oct "029" ;
EXPECT
Illegal octal digit ignored at - line 3.
########
# util.c
use warning 'unsafe' ;
*a =  hex "0xv9" ;
EXPECT
Illegal hex digit ignored at - line 3.