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
LoongArch: Organize the code related to split move and merge the same functions.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
pr69961b.C
blob
5fff1c90837381647908cf4ae53de021136b8093
1
// PR c++/69961
2
3
struct A { A (int); };
4
5
template <typename T>
6
void foo ()
7
{
8
A::A ((T)0); // { dg-error "cannot call constructor .A::A. directly" }
9
}
10
11
void
12
bar ()
13
{
14
foo<int> ();
15
}