Will I get transfer credit for Special Admit classes?

I took a course at my local community college over the summer as a “Special Admit” or dual enrollment student (currently a high schooler). If I try to transfer to USC from a community college in the future, will they accept the credits that I earned before high school graduation?