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
gcc:
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
pr35240.C
1
// PR c++/35240
2
// { dg-do compile }
3
4
5
template<int> struct A {};
6
7
template<int N> A<sizeof(new int[N][N])> foo(); // { dg-message "unimplemented" }
8
9
void bar()
10
{
11
foo<1>(); // { dg-message "instantiated" }
12
}