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
/
Parser
/
cxx-member-initializers.cpp
blob
34a725ff43af709478a04c6dea3e5cd059002547
1
// RUN: %clang_cc1 -fsyntax-only -verify %s
2
3
struct
x
{
4
x
() :
a
(
4
) ;
// expected-error {{expected '{'}}
5
};
6
7
struct
y
{
8
int
a
;
9
y
() :
a
(
4
) ;
// expected-error {{expected '{'}}
10
};