| 1 |
// RUN: %clang_cc1 %s -emit-llvm-only |
| 2 |
// PR7040 |
| 3 |
struct fake_tuple; |
| 4 |
struct connection { |
| 5 |
void bar(fake_tuple); |
| 6 |
}; |
| 7 |
void (connection::*a)(fake_tuple) = &connection::bar; |
| 8 |
void f() { |
| 9 |
void (connection::*b)(fake_tuple) = &connection::bar; |
| 10 |
} |