mirror of
https://github.com/intel/llvm.git
synced 2026-02-08 00:50:03 +08:00
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;
|
||
|
|
}
|