Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
3b5b92ab39388bb180097f3234fde9239532af4c
/
.
/
test
/
CodeGenCXX
/
mangle-address-space.cpp
blob: fbbcbfa35b58f9d00e1138c70bd8abbb4e359354 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
// CHECK: define void @_Z2f0Pc
void
f0
(
char
*
p
)
{
}
// CHECK: define void @_Z2f0PU3AS1c
void
f0
(
char
__attribute__
((
address_space
(
1
)))
*
p
)
{
}