commit | 2b24fd9d396b8c04210b5a0baaa957c3ee85725d | [log] [tgz] |
---|---|---|
author | Devang Patel <dpatel@apple.com> | Fri Oct 26 18:15:21 2007 +0000 |
committer | Devang Patel <dpatel@apple.com> | Fri Oct 26 18:15:21 2007 +0000 |
tree | 543b78134ad814833ea4a2d290a0b2b45a62256b | |
parent | 2ecd9011b3bcb1a76c7a12f19a74443869e16664 [diff] [blame] |
Handle non LValue base expressions. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43387 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/struct.c b/test/CodeGen/struct.c index 4e73cd4..443fc33 100644 --- a/test/CodeGen/struct.c +++ b/test/CodeGen/struct.c
@@ -59,3 +59,7 @@ void f4() { f3()->d1 = 42; } + +void f5() { + (f3())->d1 = 42; +}