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
* ru.po: Update.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.jason
/
c-inline.C
blob
c16fbde7dd3181e4d4f506c1a44b4d06baaf1ce1
1
// { dg-do assemble }
2
// Bug: the compiler gets hopelessly confused.
3
4
#line 1 "c-inline.h"
5
#pragma interface
6
inline double abs (double) { return 0.0; }
7
inline short abs (short) { return 0; }
8
#line 2 "c-inline.C"
9
extern "C" {
10
inline int abs (int) { return 0; } // causes segfault -
11
}