The accused may demur when the facts stated in the indictment do not constitute an offense punishable by the laws of this state, or when the intent is not alleged, when proof of it is necessary to make out the offense charged.
Neb. Rev. Stat. §§ 29-1810