mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00
23 lines
245 B
D
23 lines
245 B
D
/*
|
|
REQUIRED_ARGS: -g
|
|
PERMUTE_ARGS:
|
|
GDB_SCRIPT:
|
|
---
|
|
b gdb4181.d:22
|
|
r
|
|
echo RESULT=
|
|
p 'gdb.x' + 'gdb.STest.y'
|
|
---
|
|
GDB_MATCH: RESULT=.*33
|
|
*/
|
|
module gdb;
|
|
|
|
int x;
|
|
struct STest { static int y; }
|
|
|
|
void main()
|
|
{
|
|
x = 11;
|
|
STest.y = 22;
|
|
// BP
|
|
}
|