Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
d60e105e6d1624da647ef7dd35a9cf6fad1b763e
/
.
/
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}}