annotate run/t/typeid_86_C.d @ 536:37f34f030c21

typeid / opEquals Burton Radons <burton-radons@smocky.com> 2005-05-08 news:d5lotd$29j1$1@digitaldaemon.com
author thomask
date Sat, 14 May 2005 06:00:58 +0000
parents
children 785c8eaa48b4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
536
37f34f030c21 typeid / opEquals
thomask
parents:
diff changeset
1 // $HeadURL$
37f34f030c21 typeid / opEquals
thomask
parents:
diff changeset
2 // $Date$
37f34f030c21 typeid / opEquals
thomask
parents:
diff changeset
3 // $Auhtor$
37f34f030c21 typeid / opEquals
thomask
parents:
diff changeset
4
37f34f030c21 typeid / opEquals
thomask
parents:
diff changeset
5 // @author@ Burton Radons <burton-radons@smocky.com>
37f34f030c21 typeid / opEquals
thomask
parents:
diff changeset
6 // @date@ 2005-05-08
37f34f030c21 typeid / opEquals
thomask
parents:
diff changeset
7 // @uri@ news:d5lotd$29j1$1@digitaldaemon.com
37f34f030c21 typeid / opEquals
thomask
parents:
diff changeset
8
37f34f030c21 typeid / opEquals
thomask
parents:
diff changeset
9 module dstress.run.t.typeid_86_C;
37f34f030c21 typeid / opEquals
thomask
parents:
diff changeset
10
37f34f030c21 typeid / opEquals
thomask
parents:
diff changeset
11 int main(){
37f34f030c21 typeid / opEquals
thomask
parents:
diff changeset
12 union A{
37f34f030c21 typeid / opEquals
thomask
parents:
diff changeset
13 }
37f34f030c21 typeid / opEquals
thomask
parents:
diff changeset
14
37f34f030c21 typeid / opEquals
thomask
parents:
diff changeset
15 union B{
37f34f030c21 typeid / opEquals
thomask
parents:
diff changeset
16 }
37f34f030c21 typeid / opEquals
thomask
parents:
diff changeset
17
37f34f030c21 typeid / opEquals
thomask
parents:
diff changeset
18 assert(typeid(A) != typeid(B));
37f34f030c21 typeid / opEquals
thomask
parents:
diff changeset
19
37f34f030c21 typeid / opEquals
thomask
parents:
diff changeset
20 return 0;
37f34f030c21 typeid / opEquals
thomask
parents:
diff changeset
21 }