From ef79d4c27c8f603530fa8aca47380756c2f9137d Mon Sep 17 00:00:00 2001 From: Adam Nemet Date: Wed, 25 Aug 2004 20:52:41 +0000 Subject: [PATCH] * g++.dg/template/repo3.C: New test. From-SVN: r86578 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/g++.dg/template/repo3.C | 7 +++++++ 2 files changed, 11 insertions(+) create mode 100644 gcc/testsuite/g++.dg/template/repo3.C diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 564e993132c..c65479da396 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2004-08-25 Adam Nemet + + * g++.dg/template/repo3.C: New test. + 2004-08-25 Roger Sayle PR middle-end/16693 diff --git a/gcc/testsuite/g++.dg/template/repo3.C b/gcc/testsuite/g++.dg/template/repo3.C new file mode 100644 index 00000000000..3c1e1181aba --- /dev/null +++ b/gcc/testsuite/g++.dg/template/repo3.C @@ -0,0 +1,7 @@ +// { dg-options "-frepo -DF='a'" } + +template void f () {} +template void g () { f(); } +int main () { g(); } + +char c = F;