mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-24 18:44:20 +08:00
* gdb.cp/converts.cc (main): Initialize 'a'.
This commit is contained in:
parent
b1ae631a1e
commit
152fcc9cee
@ -1,3 +1,7 @@
|
||||
2013-01-23 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* gdb.cp/converts.cc (main): Initialize 'a'.
|
||||
|
||||
2013-01-23 Siva Chandra Reddy <sivachandra@google.com>
|
||||
|
||||
* testsuite/gdb.python/frame.exp: Add a test for
|
||||
|
@ -53,7 +53,8 @@ int main()
|
||||
//foo0_3(bppp); // Pointer-to-pointer-to-pointer base.
|
||||
foo0_3((A***)bppp); // to ensure that the function is emitted.
|
||||
|
||||
char *a; // pointer to..
|
||||
char av = 'a';
|
||||
char *a = &av; // pointer to..
|
||||
B *bp;
|
||||
foo1_1 (a); // ..pointer
|
||||
foo1_2 (a); // ..array
|
||||
|
Loading…
Reference in New Issue
Block a user