diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-12-12 16:07:11 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-12-12 16:07:11 +0000 |
commit | 34970697848274206ab8f4887a56de3fac513eda (patch) | |
tree | a5ce3a92bfd519ae60781f8d35b34af29cc621ae /clang/test/CodeGenCXX/volatile-1.cpp | |
parent | 32cb5ac9041865aabd6d84ef410f52f07b309d1f (diff) | |
download | bcm5719-llvm-34970697848274206ab8f4887a56de3fac513eda.tar.gz bcm5719-llvm-34970697848274206ab8f4887a56de3fac513eda.zip |
Switch to the new MingW ABI.
GCC 4.7 changed the MingW ABI. On the clang side this means that methods now
have the thiscall calling convention by default.
llvm-svn: 197164
Diffstat (limited to 'clang/test/CodeGenCXX/volatile-1.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/volatile-1.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGenCXX/volatile-1.cpp b/clang/test/CodeGenCXX/volatile-1.cpp index 71ff1ed7d68..472c01a4e23 100644 --- a/clang/test/CodeGenCXX/volatile-1.cpp +++ b/clang/test/CodeGenCXX/volatile-1.cpp @@ -248,11 +248,11 @@ void test() { // gcc. // Not a use. gcc forgets to do the assignment. - // CHECK-NEXT: call + // CHECK-NEXT: call {{.*}}void ((a=a),a); // Not a use. gcc gets this wrong, it doesn't emit the copy! - // CHECK-NEXT: call + // CHECK-NEXT: call {{.*}}void (void)(a=a); // Not a use. gcc got this wrong in 4.2 and omitted the side effects |