Add main, then link it
authorMartin v. Löwis <loewis@gcc.gnu.org>
Thu, 25 Mar 1999 00:36:15 +0000 (00:36 +0000)
committerMartin v. Löwis <loewis@gcc.gnu.org>
Thu, 25 Mar 1999 00:36:15 +0000 (00:36 +0000)
From-SVN: r25962

gcc/testsuite/g++.old-deja/g++.pt/static6.C

index 91a970c2a51579805d8b95d2a45d7c2642951560..c52c3cb2af512438af1f2e313cf07ce12c058b88 100644 (file)
@@ -1,4 +1,4 @@
-// Build don't link:
+// Build don't run:
 
 // Simplified from testcase by Erez Louidor Lior <s3824888@techst02.technion.ac.il>
 
@@ -10,3 +10,5 @@ template<class T>
 const int A<T>::l[1] = {1};
 
 int i = A<int>::l[0];
+
+int main(){}