The following works with Open Shading Language unchecked in the Render panel
but as soon as I check the Open Shading Language box, the material goes completely black. Adding an OSL script node in the same file work correctly so I have OSL set up correctly.
The problem appears to be with the Normal node, as feeding the Normal output of the Geometry node directly into the Emission node works whether OSL is on or off.
Blender 2.79
