Sign in
llvm
/
llvm-project
/
b83a4222b1ab5f4ddab19d83995a43646af56bfe
/
.
/
clang
/
test
/
Parser
/
cxx-member-init-missing-paren-crash.cpp
blob: 5485e7d2d5c3c09667d21496df238dfcb7ef2e10 [
file
] [
log
] [
blame
]
// RUN: not %clang_cc1 -fsyntax-only %s
// Note: The important part here is that we don't crash, not any specific errors
class
Test
{
public
:
Test
()
:
ab_
(
false
{};
bool
ab
()
{
return
ab_
;
}
private
:
bool
ab_
;
}