From a material perspective glass is much closer to concrete than asphalt. Ex: http://en.m.wikipedia.org/wiki/Glass_brick the point being glass withstands sunlight and the elements without issue, it's being driven on that's going to be an issue. And luckily that kind of stress is much easer to simulate in a lab vs weathering.
PS: That or ice which can handle heavy loads with little issue.
For this to work you have to do several things to the glass at the same time, none of which come easy: make it strong, make it hard (probably need to get to 8 or 9 on Moh's hardness scale), make it tough, and have it grip rubber as well as asphalt does even when it's wet. Considering scratch resistant and grippy compete with eachother this is not looking hopeful.
The advantage being rail lines need to trainsport electricity for electric trains, so you get dual use from those power lines.