# https://github.com/fsnotify/fsnotify/issues/727
#
# A dangling symlink already present in the directory must not cause
# Watcher.Add to fail, and must not prevent sibling files from being
# watched. Regression on kqueue since #681.
require symlink

ln   -s /nonexistent /dangling
touch                /file

watch /

touch /after

Output:
	create  /after
