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
[clang] Handle __declspec() attributes in using
[llvm-project.git]
/
clang
/
test
/
Driver
/
no-objc-arr.m
blob
fba284f8bef1cdcd48341d09ed715c6ad79efbd5
1
// RUN: %clang -Werror -fobjc-arc -fsyntax-only -fno-objc-arc -Xclang -verify %s
2
// expected-no-diagnostics
3
// rdar://8949617
4
5
void * FOO(void) {
6
id string = @"Hello World.\n";
7
void *pointer = string; // No error must be issued
8
return pointer;
9
}