Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
gdc.dg
/
extern-c++
/
pr101664.d
blob: 57b3d90358230eea5943f28fc4828f2eabbf280f [
file
] [
log
] [
blame
]
// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101664
// { dg-do run }
// { dg-options "-O2" }
// { dg-additional-sources "pr101664_1.cc" }
extern
(
C
++)
struct
S101664
{
int
i
;
this
(
int
);
}
void
main
()
{
assert
(
S101664
(
1
).
i
==
1
);
}