Added shared context example

Let's test out some of the evil corner cases that led to the glir rework.

I suspect this example should work, but it's possible I'm trying to do something we don't yet (or won't ever) support.