1*0a6a1f1dSLionel Sambuc // RUN: %clang_cc1 -emit-llvm -triple %itanium_abi_triple -o - %s | FileCheck %s 2f4a2713aSLionel Sambuc 3f4a2713aSLionel Sambuc // CHECK-LABEL: define void @_Z2f0Pc f0(char * p)4f4a2713aSLionel Sambucvoid f0(char *p) { } 5f4a2713aSLionel Sambuc // CHECK-LABEL: define void @_Z2f0PU3AS1c f0(char * p)6f4a2713aSLionel Sambucvoid f0(char __attribute__((address_space(1))) *p) { } 7f4a2713aSLionel Sambuc 8f4a2713aSLionel Sambuc struct OpaqueType; 9f4a2713aSLionel Sambuc typedef OpaqueType __attribute__((address_space(100))) * OpaqueTypePtr; 10f4a2713aSLionel Sambuc 11f4a2713aSLionel Sambuc // CHECK-LABEL: define void @_Z2f0PU5AS10010OpaqueType f0(OpaqueTypePtr)12f4a2713aSLionel Sambucvoid f0(OpaqueTypePtr) { } 13