comparison tests/sema/deref_2.d @ 116:0cd8d6ab3f89

Add in the types for float and co.
author Anders Halager <halager@gmail.com>
date Sun, 25 May 2008 18:19:09 +0200
parents 189c049cbfcc
children
comparison
equal deleted inserted replaced
113:244142a21cbc 116:0cd8d6ab3f89
1 int main() 1 int main()
2 { 2 {
3 int *a; 3 int* a;
4 int *b; 4 int* b;
5 a = b; 5 a = b;
6 *a = 1; 6 *a = 1;
7 7
8 return *a == *b; 8 return *a == *b;
9 } 9 }