Warn for non-trivial type declarators in shared declarations.