OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
/cp
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
spec36.C
1
/* PR c++/38089 */
2
/* { dg-do compile } */
3
4
struct basic_string
5
{
6
basic_string(const int __s);
7
};
8
namespace MyNS {
9
class MyClass {
10
template <typename T>
11
T test() { } /* { dg-error "from definition" } */
12
};
13
}
14
template <>
15
basic_string MyNS::MyClass::test() /* { dg-error "specialization of" } */
16
{ return 1; }