Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
fp2-dev
/
platform
/
external
/
clang
/
762bb9d0ad20320b9f97a841dce57ba5e8e48b07
/
.
/
test
/
CXX
/
temp
/
temp.spec
/
temp.explicit
/
p12.cpp
blob: c7564868f8addf1677502f073eeeba33753e8bb2 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s
char
*
p
=
0
;
template
<
class
T
>
T g
(
T x
=
&
p
)
{
return
x
;
}
template
int
g
<int>
(
int
);
// OK even though &p isn't an int.