repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Revert "[llvm] Improve llvm.objectsize computation by computing GEP, alloca and mallo...
[llvm-project.git]
/
clang
/
test
/
Parser
/
encode.m
blob
056cee1ac06b24a343e0d9aabfbc079b9b51cd7b
1
// RUN: %clang_cc1 -fsyntax-only -verify %s
2
// expected-no-diagnostics
3
4
int main(void) {
5
const char ch = @encode(char *)[0];
6
char c = @encode(char *)[0] + 4;
7
return c;
8
}
9