diff options
Diffstat (limited to 'gold/testsuite/two_file_test_1.cc')
-rw-r--r-- | gold/testsuite/two_file_test_1.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gold/testsuite/two_file_test_1.cc b/gold/testsuite/two_file_test_1.cc index 382e048..4c6c0b2 100644 --- a/gold/testsuite/two_file_test_1.cc +++ b/gold/testsuite/two_file_test_1.cc @@ -45,6 +45,8 @@ // 12 Compare address of function for equality in both files. // 13 Compare address of inline function for equality in both files. // 14 Compare string constants in file 1 and file 2. +// 15 Compare wide string constants in file 1 and file 2. +// 16 Call a function directly after its address has been taken. #include "two_file_test.h" @@ -193,3 +195,11 @@ t15() return false; return *s2 == '\0'; } + +// 16 Call a function directly after its address has been taken. + +bool +t16() +{ + return f10() == 135; +} |