diff options
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.other/comdat1-aux.cc')
-rw-r--r-- | gcc/testsuite/g++.old-deja/g++.other/comdat1-aux.cc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.other/comdat1-aux.cc b/gcc/testsuite/g++.old-deja/g++.other/comdat1-aux.cc new file mode 100644 index 000000000..34eb88ff8 --- /dev/null +++ b/gcc/testsuite/g++.old-deja/g++.other/comdat1-aux.cc @@ -0,0 +1,10 @@ +inline int f () +{ + static int i; + return ++i; +} + +int g () +{ + return f(); +} |