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
ipa-cp: Perform operations in the appropriate types (PR 118097)
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
pr35240.C
blob
5b945511768686be77226ca3c53063d474b89e1a
1
// PR c++/35240
2
// { dg-do compile }
3
4
template<int> struct A {};
5
6
template<int N> A<sizeof(new int[N][N])> foo();
7
8
void bar()
9
{
10
foo<1>();
11
}