repo.or.cz
/
clang.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix the clang-wpa example.
[clang.git]
/
test
/
CodeGenCXX
/
mangle-address-space.cpp
blob
fbbcbfa35b58f9d00e1138c70bd8abbb4e359354
1
// RUN: %clang_cc1 -emit-llvm -o - %s | FileCheck %s
2
3
// CHECK: define void @_Z2f0Pc
4
void
f0
(
char
*
p
) { }
5
// CHECK: define void @_Z2f0PU3AS1c
6
void
f0
(
char
__attribute__
((
address_space
(
1
))) *
p
) { }