Make note that examples need a main()

Fixes #19199