Sign in
llvm
/
llvm-archive
/
f8b4f79771a41ee0a0f02ac90619d37ccd834915
/
.
/
clang-tests
/
gcc-4_2-testsuite
/
src
/
g++.dg
/
parse
/
template1.C
blob: d7bbb073f812416a38a4a961618050afd428958c [
file
] [
log
] [
blame
]
struct
CPU
{
typedef
int
(*
pfun
)();
template
<
pfun step1
>
static
int
dispatch
();
};
template
<int>
static
int
foo
();
template
int
CPU
::
dispatch
<&
template
foo
<
2
>
>
();
// { dg-error "" }