mirror of
https://forge.sourceware.org/marek/gcc.git
synced 2026-02-22 03:47:02 -05:00
Synchronizing the library with the upstream release of v2.108.1.
D runtime changes:
- Import druntime v2.108.1.
- Removed all `collectNoStack' functions and API from the
garbage collector.
- The static method `core.thread.Thread.sleep' is now marked as
`@trusted'.
Phobos changes:
- Import phobos v2.108.1.
- Add `std.process.Config.preExecDelegate'.
libphobos/ChangeLog:
* libdruntime/MERGE: Merge upstream druntime c11e1d1708.
* libdruntime/Makefile.am (DRUNTIME_DSOURCES_FREEBSD): Add
core/sys/freebsd/mqueue.d.
(DRUNTIME_DSOURCES_LINUX): Add core/sys/linux/sys/mount.d.
* libdruntime/Makefile.in: Regenerate.
* src/MERGE: Merge upstream phobos 303b9c9f7.
* testsuite/libphobos.exceptions/invalid_memory_operation.d: Adjust
test.
16 lines
250 B
D
16 lines
250 B
D
// { dg-shouldfail "Invalid memory operation" }
|
|
// { dg-output "core.exception.InvalidMemoryOperationError@.*: Invalid memory operation" }
|
|
struct S
|
|
{
|
|
~this()
|
|
{
|
|
new int;
|
|
}
|
|
}
|
|
|
|
void main()
|
|
{
|
|
foreach(i; 0 .. 100)
|
|
new S;
|
|
}
|