Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
new13.C
blob: 17a19e4028911f220b02a6edae68b312c53713a9 [
file
] [
log
] [
blame
]
// PR c++/105803
// { dg-do compile }
// { dg-additional-options "-fchecking=2" }
namespace
std
{
template
<typename>
class
shared_ptr
{};
}
struct
S
{};
template
<int>
void
build_matrices
()
{
std
::
shared_ptr
<
S
>(
new
S
);
}