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