If you put a glass in the freezer, halfway full with lukewarm water, will the glass break when water freezes?

i’m quite certain that the glass would break, but it’d be great if someone could give me a definitive answer as to why the glass would break. or, should i be wrong, someone give me details as to why i’m actually wrong.