mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-11 11:23:35 +08:00
917bffa7f6
cdtest.exp: A test program (copied from libg++/test-install) that tests that constructor and destructors are handled corrrectly.
16 lines
655 B
Plaintext
16 lines
655 B
Plaintext
Constructing Foo(1) "static_foo"
|
|
Constructing Foo(2) "static_foo"
|
|
Constructing Foo(3) "automatic_foo"
|
|
Constructing Foo(4) "default-foo"
|
|
Initializing Foo(5) "default-foo" with Foo(4)
|
|
Destructing Foo(4) "default-foo" (remaining foos: 4)
|
|
Constructing Foo(5) "other_foo1"
|
|
Constructing Foo(6) "other_foo2"
|
|
Copying Foo(5) "other_foo1" to Foo(6)
|
|
Destructing Foo(6) "other_foo1" (remaining foos: 5)
|
|
Destructing Foo(5) "other_foo1" (remaining foos: 4)
|
|
Destructing Foo(5) "default-foo" (remaining foos: 3)
|
|
Destructing Foo(3) "automatic_foo" (remaining foos: 2)
|
|
Destructing Foo(2) "static_foo" (remaining foos: 1)
|
|
Destructing Foo(1) "static_foo" (remaining foos: 0)
|