diff options
Diffstat (limited to 'test/CodeGen/volatile-1.c')
-rw-r--r-- | test/CodeGen/volatile-1.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/CodeGen/volatile-1.c b/test/CodeGen/volatile-1.c index ea478841c4..3e7bbb8f44 100644 --- a/test/CodeGen/volatile-1.c +++ b/test/CodeGen/volatile-1.c @@ -82,6 +82,10 @@ int main() { // ============================================================ // Test cases we get wrong. + // A use. We load all of a into a copy of a, then load i. gcc forgets to do + // the assignment. + (a = a).i; + // ============================================================ // Test cases where we intentionally differ from gcc, due to suspected bugs in // gcc. |