mirror of
https://github.com/Gericom/teak-llvm.git
synced 2025-06-25 22:38:56 -04:00

isn't possible to compute. This patch is mostly refactoring; the key change is the addition of the code starting with the comment, "Check whether the function has a computable LLVM signature." The solution here is essentially the same as the way the vtable code handles such functions. llvm-svn: 105151
11 lines
239 B
C++
11 lines
239 B
C++
// RUN: %clang_cc1 %s -emit-llvm-only
|
|
// PR7040
|
|
struct fake_tuple;
|
|
struct connection {
|
|
void bar(fake_tuple);
|
|
};
|
|
void (connection::*a)(fake_tuple) = &connection::bar;
|
|
void f() {
|
|
void (connection::*b)(fake_tuple) = &connection::bar;
|
|
}
|