repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PR c++/86728 - C variadic generic lambda.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
conv15.C
blob
2f61c11356448a562bade2500e9ac9676e7a8f89
1
// PR c++/86219
2
3
template <int a> struct t;
4
template <int a>
5
void f ()
6
{
7
const int b = ""; // { dg-error "conversion" }
8
t<b>::c; // { dg-error "constant" }
9
// { dg-prune-output "template argument 1 is invalid" }
10
}