summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGen
diff options
context:
space:
mode:
authorMike Stump <mrs@apple.com>2009-05-29 16:12:36 +0000
committerMike Stump <mrs@apple.com>2009-05-29 16:12:36 +0000
commitf9f89a3fee3f8e0afa1f06f0b61cf433fc9bf99a (patch)
treecc28e1435e1bb9bb75d053355af2c8e81187af88 /clang/test/CodeGen
parentdf0fe27b660a11c49dce766cd16c4eddcd00ed8c (diff)
downloadbcm5719-llvm-f9f89a3fee3f8e0afa1f06f0b61cf433fc9bf99a.tar.gz
bcm5719-llvm-f9f89a3fee3f8e0afa1f06f0b61cf433fc9bf99a.zip
Note another case that doesn't work yet.
llvm-svn: 72573
Diffstat (limited to 'clang/test/CodeGen')
-rw-r--r--clang/test/CodeGen/volatile-1.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/test/CodeGen/volatile-1.c b/clang/test/CodeGen/volatile-1.c
index ea478841c4d..3e7bbb8f446 100644
--- a/clang/test/CodeGen/volatile-1.c
+++ b/clang/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.
OpenPOWER on IntegriCloud