What states allow defendants to plead guilty and then challenge the search of evidence on appeal?

I know in most states, by pleading guilty, a defendant waives any claim that evidence was illegally seized.. but I'm curious.