repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
explicit12.C
blob
cf93428e3acf7eb1df804cc1366219cbf6c248a5
1
// PR c++/57728
2
// { dg-do link { target c++11 } }
3
// { dg-options -save-temps }
4
5
template<typename T>
6
struct A
7
{
8
T x;
9
A() = default;
10
A(const A &other) = delete;
11
};
12
13
extern template class A<int>;
14
15
int main()
16
{
17
A<int> a;
18
}
19
20
// { dg-final { scan-assembler-not "_ZN1AIiEC1Ev" } }