mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-04-17 17:29:02 +02:00
[svn r362] Started merging the old 'test' dir as well as the newer 'tangotests' dir into 'tests/mini' and 'tests/minicomplex'.
This commit is contained in:
10
tests/mini/bug64.d
Normal file
10
tests/mini/bug64.d
Normal file
@@ -0,0 +1,10 @@
|
||||
module bug64;
|
||||
|
||||
void main()
|
||||
{
|
||||
float f;
|
||||
float* p = &f;
|
||||
float* end1 = p+1;
|
||||
float* end2 = 1+p;
|
||||
assert(end1 is end2);
|
||||
}
|
||||
Reference in New Issue
Block a user