OSDN Git Service

Add main, then link it
authorloewis <loewis@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 25 Mar 1999 00:36:15 +0000 (00:36 +0000)
committerloewis <loewis@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 25 Mar 1999 00:36:15 +0000 (00:36 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25962 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 91a970c..c52c3cb 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(){}