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
* g++.dg/ext/altivec-17.C: Adjust error message.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
ext
/
always_inline-4.C
1
// { dg-options "-O0" }
2
// { dg-do compile }
3
// PR C++/34715
4
5
template <class T>
6
const T& min123(const T& a, const T& b);
7
template <class T>
8
inline __attribute__ ((always_inline)) const T&
9
min123(const T& a, const T& b)
10
{
11
return a < b ? a : b;
12
}
13
int main()
14
{
15
int a, b;
16
return min123(a, b);
17
}
18
19
20
// { dg-final { scan-assembler-not "min123" } }