Mercurial > projects > ldc
view tests/mini/compile_delegate.d @ 1359:34f2fd925de3
Intrinsics shouldn't see struct padding, so use a special TargetABI for them
that removes it.
This unbreaks the `llvm_*_with_overflow` intrinsics.
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Sat, 16 May 2009 13:06:49 +0200 |
parents | 3251ce06c820 |
children |
line wrap: on
line source
class A(T) { void foo(void delegate (T) d) {} void bar() { foo(delegate void (T t) {}); } } class B: A!(B) {} class C: A!(C) {}