1*f4a2713aSLionel Sambuc // RUN: %clang_cc1 %s -emit-llvm -o - -triple=x86_64-unknown-unknown | FileCheck -check-prefix GLOBAL-LP64 %s 2*f4a2713aSLionel Sambuc // RUN: %clang_cc1 %s -emit-llvm -o - -triple=armv7-unknown-unknown | FileCheck -check-prefix GLOBAL-LP32 %s 3*f4a2713aSLionel Sambuc 4*f4a2713aSLionel Sambuc struct A; 5*f4a2713aSLionel Sambuc typedef int A::*param_t; 6*f4a2713aSLionel Sambuc struct { 7*f4a2713aSLionel Sambuc const char *name; 8*f4a2713aSLionel Sambuc param_t par; 9*f4a2713aSLionel Sambuc } *ptr; test_ptr()10*f4a2713aSLionel Sambucvoid test_ptr() { (void) ptr; } // forced use 11*f4a2713aSLionel Sambuc 12*f4a2713aSLionel Sambuc // GLOBAL-LP64: type { i8*, i64 } 13*f4a2713aSLionel Sambuc // GLOBAL-LP32: type { i8*, i32 } 14