summaryrefslogtreecommitdiffstats
path: root/test/CodeGenCXX/member-function-pointers.cpp
diff options
context:
space:
mode:
authorZoran Jovanovic <zoran.jovanovic@imgtec.com>2015-02-18 15:21:35 +0000
committerZoran Jovanovic <zoran.jovanovic@imgtec.com>2015-02-18 15:21:35 +0000
commitf4ae8457c4169cdfdea845e90f59d97d0959e40a (patch)
tree9efab61806fa014d5a72fcfb21c9d0332ae87944 /test/CodeGenCXX/member-function-pointers.cpp
parent2ce94e81cb76cae42cbb65084c035fb31ce8e13b (diff)
Change representation of member function pointers for MIPS targets
Differential Revision: http://reviews.llvm.org/D7148 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@229680 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGenCXX/member-function-pointers.cpp')
-rw-r--r--test/CodeGenCXX/member-function-pointers.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/CodeGenCXX/member-function-pointers.cpp b/test/CodeGenCXX/member-function-pointers.cpp
index fb06fa7703..8ae57b2cdb 100644
--- a/test/CodeGenCXX/member-function-pointers.cpp
+++ b/test/CodeGenCXX/member-function-pointers.cpp
@@ -6,6 +6,8 @@
// PNaCl uses the same representation of method pointers as ARM.
// RUN: %clang_cc1 %s -emit-llvm -o - -triple=le32-unknown-nacl | FileCheck -check-prefix GLOBAL-ARM %s
+// MIPS uses the same representation of method pointers as ARM.
+// RUN: %clang_cc1 %s -emit-llvm -o - -triple=mips-unknown-linux-gnu | FileCheck -check-prefix GLOBAL-ARM %s
struct A { int a; void f(); virtual void vf1(); virtual void vf2(); };
struct B { int b; virtual void g(); };