freebsd-nq/test/CodeGenCXX/member-pointer-type-convert.cpp
2010-01-01 10:34:51 +00:00

11 lines
174 B
C++

// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
struct A;
typedef int A::*param_t;
struct {
const char *name;
param_t par;
} *ptr;
// CHECK: type { i8*, {{i..}} }