Is it illegal to have an empty beer container in your car?

no,,,if u get pulled over as long as ur not drunk and the cops use that test thing ur good to go