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
/
fail18979.d
blob
9b7c59acd5bc28ae76ee158d275ee0b5165fe128
1
// EXTRA_FILES: imports/imp18979.d
2
/*
3
TEST_OUTPUT:
4
---
5
fail_compilation/fail18979.d(14): Error: no property `__ctor` for `Foo()` of type `imports.imp18979.Foo`
6
fail_compilation/imports/imp18979.d(3): struct `Foo` defined here
7
----
8
*/
9
10
import
imports
.
imp18979
;
11
12
void
main
()
13
{
14
auto
f
=
Foo
(
42
);
15
}