Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
bd4c4aebe6035e7a7125470cc9f0f92511230ee3
/
.
/
test
/
SemaCXX
/
member-location.cpp
blob: cb53ae15123dd37714fbb4266539f30eb7071e2e [
file
] [
log
] [
blame
]
// RUN: clang-cc -fsyntax-only -verify %s
// PR4103: Make sure we have a location for the error
class
A
{
float
a
(
int
*);
int
b
();
};
int
A
::
b
()
{
return
a
(
a
((
int
*)
0
));
}
// expected-error {{incompatible type}}