summaryrefslogtreecommitdiff
path: root/tests/test-func.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-func.c')
-rw-r--r--tests/test-func.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test-func.c b/tests/test-func.c
index d680759668..0d00b97efa 100644
--- a/tests/test-func.c
+++ b/tests/test-func.c
@@ -27,8 +27,8 @@ main ()
{
ASSERT (strlen (__func__) > 0);
- /* On SunPRO C 5.9, sizeof __func__ evaluates to 0. The compiler warns:
- "warning: null dimension: sizeof()". */
+ /* On Oracle Developer Studio 12.6 and earlier, sizeof __func__ yields 0.
+ The compiler warns: "warning: null dimension: sizeof()". */
#if !defined __SUNPRO_C
ASSERT (strlen (__func__) + 1 == sizeof __func__);
#endif