Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
8e8fb3be5bd78f0564444eca02b404566a5f3b5d
/
.
/
test
/
SemaObjCXX
/
standard-conversion-to-bool.mm
blob: c36b63bd6413e9530a9e27e58c67de6d319c0564 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics
@class
NSString
;
id a
;
NSString
*
b
;
void
f
()
{
bool
b1
=
a
;
bool
b2
=
b
;
}