In Z[x,y], gcd(x,y)=1, yet 1 is not a linear combination of x and y.
Proof
Let (d) be a principal ideal such that (x,y)⊆(d). If degx(d)>0 then y∈/(d), since degx(y)=0. Symmetrically, degy(d)>0 cannot hold either. So d∈Z. If (up to units) d=1 then x∈/(d), since x has coefficient of 1. So it must be that (up to units) d=1.
Suppose f,g∈Z[x,y] are such that fx+gy=1. Let φ:Z[x,y]→Z be the evaluation map given by x↦0,y↦0. In this case, φ(fx+gy)=0 yet φ(1)=1. This is a contradiction.