Sign in
gnu
/
gcc
/
a6d3012b274f38b20e2a57162106f625746af6c6
/
.
/
gcc
/
testsuite
/
gdc.test
/
fail_compilation
/
ice10651.d
blob: 51e0a728ca0800f0124bf159ea16eca0e383f262 [
file
] [
log
] [
blame
]
/*
TEST_OUTPUT:
---
fail_compilation/ice10651.d(11): Error: can only throw class objects derived from Throwable, not type `int*`
---
*/
void
main
()
{
alias
T
=
int
;
throw
new
T
();
// ICE
}