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