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 |
rev |
line source |
536
|
1 // $HeadURL$
|
|
2 // $Date$
|
|
3 // $Auhtor$
|
|
4
|
|
5 // @author@ Burton Radons <burton-radons@smocky.com>
|
|
6 // @date@ 2005-05-08
|
|
7 // @uri@ news:d5lotd$29j1$1@digitaldaemon.com
|
|
8
|
|
9 module dstress.run.t.typeid_86_C;
|
|
10
|
|
11 int main(){
|
|
12 union A{
|
|
13 }
|
|
14
|
|
15 union B{
|
|
16 }
|
|
17
|
|
18 assert(typeid(A) != typeid(B));
|
|
19
|
|
20 return 0;
|
|
21 }
|