repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
MATCH: Improve `A CMP 0 ? A : -A` set of patterns to use bitwise_equal_p.
[official-gcc.git]
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
fail11375.d
blob
cabf87a6cae3463f747d97ae920b17e5d426bb81
1
/*
2
TEST_OUTPUT:
3
---
4
fail_compilation/fail11375.d(18): Error: constructor `fail11375.D!().D.this` is not `nothrow`
5
which calls `fail11375.B.this`
6
fail_compilation/fail11375.d(16): Error: function `D main` may throw but is marked as `nothrow`
7
---
8
*/
9
10
class
B
{
11
this
() {}
12
}
13
14
class
D
() :
B
{}
15
16
void
main
()
nothrow
17
{
18
auto
d
=
new
D
!()();
19
}