diff --git a/gcc/testsuite/g++.old-deja/g++.pt/const2.C b/gcc/testsuite/g++.old-deja/g++.pt/const2.C
index 3ca4a532b19878b284f427326eba2648e327c839..7340ff4e982ce35c65c16356e208833ccec272b9 100644
--- a/gcc/testsuite/g++.old-deja/g++.pt/const2.C
+++ b/gcc/testsuite/g++.old-deja/g++.pt/const2.C
@@ -1,4 +1,5 @@
 // { dg-do link }
+// { dg-skip-if "VxWorks dkms use partial link" { vxworks_kernel } }
 // This test should get a linker error for the reference to A<int>::i.
 // { dg-prune-output "ld: symbol" }
 // { dg-message "i" "" { target *-*-* } 0 }