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