repo.or.cz
/
official-gcc
/
graphite-test-results.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge from mainline (165734:167278).
[official-gcc/graphite-test-results.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
init4.C
blob
78c7c3088593d6ad0058c5f013f91577af85dde8
1
// { dg-do compile }
2
3
// Copyright (C) 2004 Free Software Foundation, Inc.
4
// Contributed by Nathan Sidwell 15 Dec 2004 <nathan@codesourcery.com>
5
6
// PR 18905. bogus error
7
// Origin: Andrew Pinski <pinskia@gcc.gnu.org>
8
9
int f1(char);
10
template <int t>
11
void f(void)
12
{
13
const char* const suffixes = "plpv";
14
f1(suffixes[t]);
15
}