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
testsuite: update mangling
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
concepts-pr68093-1.C
blob
bc679a71f9c1749931ab50ae2e0d80898c9c3277
1
// { dg-do compile { target c++20 } }
2
template <typename t>
3
struct S
4
{
5
template <typename t2>
6
requires false
7
friend void foobar(S, t2) {}
8
};
9
10
int main()
11
{
12
foobar(S<double>{}, int{}); // { dg-error "" }
13
}