]> granicus.if.org Git - clang/commitdiff
And an additional testcase that also works.
authorMike Stump <mrs@apple.com>
Tue, 26 May 2009 23:10:55 +0000 (23:10 +0000)
committerMike Stump <mrs@apple.com>
Tue, 26 May 2009 23:10:55 +0000 (23:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72441 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/volatile.c

index c89a72bfeff55ac4b5e16e3dc87a94fad594070c..cf729a33bc5361386b09f652d3730bbcace46b29 100644 (file)
@@ -1,6 +1,6 @@
 // RUN: clang-cc -emit-llvm < %s -o %t &&
 // RUN: grep volatile %t | count 25 &&
-// RUN: grep memcpy %t | count 5
+// RUN: grep memcpy %t | count 7
 
 // The number 26 comes from the current codegen for volatile loads;
 // if this number changes, it's not necessarily something wrong, but
@@ -90,4 +90,5 @@ void main() {
   (void)vF2;
   vF2 = vF2;
   vF2 = vF2 = vF2;
+  vF2 = (vF2, vF2);
 }