opnsense-src/test/CodeGenCXX/member-pointer-type-convert.cpp

11 lines
174 B
C++
Raw Normal View History

2010-01-01 05:34:51 -05:00
// RUN: %clang_cc1 -emit-llvm %s -o - | FileCheck %s
2009-12-15 13:49:47 -05:00
struct A;
typedef int A::*param_t;
struct {
const char *name;
param_t par;
} *ptr;
// CHECK: type { i8*, {{i..}} }