Class 12 student dies