Sign in
ara-mdk
/
platform
/
external
/
clang
/
c21fed361c11f13db345cba69101578578d8fb79
/
.
/
test
/
SemaCXX
/
uninit-variables.cpp
blob: e971357ca78e90d99f5e80a04e7f123634c48a7a [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -Wuninitialized-experimental -fsyntax-only %s -verify
int
test1_aux
(
int
&
x
);
int
test1
()
{
int
x
;
test1_aux
(
x
);
return
x
;
// no-warning
}
int
test2_aux
()
{
int
x
;
int
&
y
=
x
;
return
x
;
// no-warning
}