* g++.dg/template/repo3.C: New test.
authorAdam Nemet <anemet@lnxw.com>
Wed, 25 Aug 2004 20:52:41 +0000 (20:52 +0000)
committerAdam Nemet <nemet@gcc.gnu.org>
Wed, 25 Aug 2004 20:52:41 +0000 (20:52 +0000)
From-SVN: r86578

gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/template/repo3.C [new file with mode: 0644]

index 564e993132c9520c2d3508bc8e6914e1065718b4..c65479da39661afa39ab77d5dd8b953147fe4840 100644 (file)
@@ -1,3 +1,7 @@
+2004-08-25  Adam Nemet  <anemet@lnxw.com>
+
+       * g++.dg/template/repo3.C: New test.
+
 2004-08-25  Roger Sayle  <roger@eyesopen.com>
 
        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 (file)
index 0000000..3c1e118
--- /dev/null
@@ -0,0 +1,7 @@
+// { dg-options "-frepo -DF='a'" }
+
+template <typename A, typename B> void f () {}
+template <typename A, typename B> void g () { f<int,int>(); }
+int main () { g<int,int>(); }
+
+char c = F;