Any provision in this article notwithstanding, in no event shall the punishment for an attempt to commit an offense exceed the maximum punishment had the offense been committed. History Code 1950, § 18.1-20; 1960, c. 358; 1975, cc. 14, 15.