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