Skip to content

Commit 4c6cfc0

Browse files
authored
Merge pull request #2448 from tautschnig/c++-delayed-body
Fix delayed method body conversion for templates
2 parents c46d46d + 02e3840 commit 4c6cfc0

File tree

21 files changed

+182
-57
lines changed

21 files changed

+182
-57
lines changed

regression/cpp/Function_Overloading2/main.cpp

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,16 @@
1+
#ifdef __GNUC__
2+
#define NOTHROW __attribute__((nothrow))
3+
#else
4+
#define NOTHROW
5+
#endif
6+
17
namespace std {
28
extern "C" {
3-
double fabs(double) __attribute__((nothrow)) ;
9+
double fabs(double) NOTHROW ;
410
}
511

6-
__inline float fabs(float x) __attribute__((nothrow));
7-
__inline long double fabs(long double x) __attribute__((nothrow));
12+
__inline float fabs(float x) NOTHROW;
13+
__inline long double fabs(long double x) NOTHROW;
814

915
/* original code from CodeWarrior */
1016
template <class _T>

regression/cpp/Function_Overloading2/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
KNOWNBUG
1+
CORE
22
main.cpp
33

44
^EXIT=0$

regression/cpp/Template_Instantiation5/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
KNOWNBUG
1+
CORE
22
main.cpp
33

44
^EXIT=0$

regression/systemc/BitvectorSc1/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
KNOWNBUG
1+
CORE
22
main.cpp
33

44
^EXIT=10$

regression/systemc/BitvectorSc2/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
KNOWNBUG
1+
CORE
22
main.cpp
33

44
^EXIT=0$

regression/systemc/EqualOp1/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
KNOWNBUG
1+
CORE
22
main.cpp
33

44
^EXIT=0$

regression/systemc/EqualOp2/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
KNOWNBUG
1+
CORE
22
main.cpp
33

44
^EXIT=10$

regression/systemc/EqualOp3/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
KNOWNBUG
1+
CORE
22
main.cpp
33

44
^EXIT=10$

regression/systemc/FunTempl1/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
KNOWNBUG
1+
CORE
22
main.cpp
33

44
^EXIT=0$

regression/systemc/SimpleSc1/test.desc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
KNOWNBUG
1+
CORE
22
main.cpp
33

44
^EXIT=0$

0 commit comments

Comments
 (0)