diff options
Diffstat (limited to 'test/CodeGen/struct.c')
-rw-r--r-- | test/CodeGen/struct.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/CodeGen/struct.c b/test/CodeGen/struct.c index 8f9ecd6080..be5917a3da 100644 --- a/test/CodeGen/struct.c +++ b/test/CodeGen/struct.c @@ -127,3 +127,12 @@ void f11() a1 = a2; a2 = a1; } + +/* Implicit casts (due to const) */ +void f12() +{ + struct _a a1; + const struct _a a2; + + a1 = a2; +}
\ No newline at end of file |