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
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
SemaObjC
/
compound-init.m
blob
ebd0617f1e01519b93fd8da155c6129a019ceb64
1
// RUN: %clang_cc1 -fsyntax-only -verify %s
2
@interface A
3
@end
4
5
void f(void) {
6
(A){ 0 }; // expected-error{{cannot initialize Objective-C class type 'A'}}
7
}