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
Update ChangeLog and version files for release
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
array27.C
blob
95680dd15fd8eed46864f210d35edb7bb91526f0
1
// PR c++/47808
2
// { dg-options "" }
3
4
template <typename T>
5
inline T abs (T const & x) { return x; }
6
7
template <typename T>
8
void f (T)
9
{
10
typedef int ai[(abs(0.1) > 0) ? 1 : -1];
11
}
12
13
int main()
14
{
15
f(1);
16
}