repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
lto: Don't check obj.found for offload section
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
nontype14.C
blob
93338512b3a8572672bd29f27ee0083df3d49523
1
// PR c++/23789
2
3
template <int W> struct X {
4
template <int W2>
5
X< (W+(W&&W) > 1 ? W+(W&&W) : 1)+1>
6
operator + (const X<W2>&) const;
7
};
8
9
template <int dummy> void foo()
10
{
11
X<6> A,B;
12
A + B;
13
}