diff options
| author | Roman Divacky <rdivacky@FreeBSD.org> | 2010-02-16 09:31:36 +0000 |
|---|---|---|
| committer | Roman Divacky <rdivacky@FreeBSD.org> | 2010-02-16 09:31:36 +0000 |
| commit | ecb7e5c8afe929ee38155db94de6b084ec32a645 (patch) | |
| tree | 53010172e19c77ea447bcd89e117cda052ab52e0 /test/CodeGenCXX/member-pointer-cast.cpp | |
| parent | 5044f5c816adfd5cba17f1adee1a10127296d0bf (diff) | |
Update clang to r96341.
Notes
Notes:
svn path=/vendor/clang/dist/; revision=203955
Diffstat (limited to 'test/CodeGenCXX/member-pointer-cast.cpp')
| -rw-r--r-- | test/CodeGenCXX/member-pointer-cast.cpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/test/CodeGenCXX/member-pointer-cast.cpp b/test/CodeGenCXX/member-pointer-cast.cpp deleted file mode 100644 index 4937b037de53..000000000000 --- a/test/CodeGenCXX/member-pointer-cast.cpp +++ /dev/null @@ -1,21 +0,0 @@ -// RUN: %clang_cc1 %s -emit-llvm -o - -triple=x86_64-apple-darwin9 | FileCheck %s - -struct A { int a; }; -struct B { int b; }; -struct C : B, A { }; - -int A::*pa; -int C::*pc; - -void f() { - // CHECK: store i64 -1, i64* @pa - pa = 0; - - // CHECK: [[ADJ:%[a-zA-Z0-9\.]+]] = add i64 {{.*}}, 4 - // CHECK: store i64 [[ADJ]], i64* @pc - pc = pa; - - // CHECK: [[ADJ:%[a-zA-Z0-9\.]+]] = sub i64 {{.*}}, 4 - // CHECK: store i64 [[ADJ]], i64* @pa - pa = static_cast<int A::*>(pc); -} |
