Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
a8063c33d8d8e38e864a712b1bff6d67584558f6
/
.
/
test
/
CodeGenCXX
/
member-pointer-type-convert.cpp
blob: 2970a2e39e3f5f83bab1f680c068f3ef771f8040 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
struct
A
;
typedef
int
A
::*
param_t
;
struct
{
const
char
*
name
;
param_t
par
;
}
*
ptr
;
void
test_ptr
()
{
(
void
)
ptr
;
}
// forced use
// CHECK: type { i8*, {{i..}} }