ldc-developers/ldc — Issue #35: ICE: postfix operation on typedef'd value
Author: Trass3r
Created: 2011-12-05 04:16:50+00:00
State: open

```d
typedef const(ubyte)* cstring;

void main()
{
cstring c;
c++; // toir.cpp:1767: virtual DValue* PostExp::toElem(IRState*): Assertion `e2type->isintegral()' failed
//	--c; // Error: 'c' is not of arithmetic type, it is a cstring
}
```