comparison tests/sema/deref_2.d @ 208:41ccd50e7cbc

Added missing tests
author Anders Johnsen <skabet@gmail.com>
date Tue, 12 Aug 2008 18:21:06 +0200
parents 0cd8d6ab3f89
children
comparison
equal deleted inserted replaced
207:e0551773a005 208:41ccd50e7cbc
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 }