forked from Imagelibrary/binutils-gdb
* gdb.ada/print_chars/pck.ads, gdb.ada/print_chars/pck.adb,
gdb.ada/print_chars/foo.adb: New files.
* gdb.ada/print_chars.exp: New testcase.
This commit is contained in:
11
gdb/testsuite/gdb.ada/print_chars/foo.adb
Normal file
11
gdb/testsuite/gdb.ada/print_chars/foo.adb
Normal file
@@ -0,0 +1,11 @@
|
||||
with Pck; use Pck;
|
||||
|
||||
procedure Foo is
|
||||
C : Character := 'a';
|
||||
WC : Wide_Character := 'b';
|
||||
WWC : Wide_Wide_Character := 'c';
|
||||
begin
|
||||
Do_Nothing (C'Address); -- START
|
||||
Do_Nothing (WC'Address);
|
||||
Do_Nothing (WWC'Address);
|
||||
end Foo;
|
||||
Reference in New Issue
Block a user