The invention relates to an analog circuit (1) based on MOS, BCMOS or
CMOS. The analog circuit (1) is designed to fulfil a predetermined circuit purpose in a
normal state of the analog circuit (1). The analog circuit (1) has an analog input or output
signal or an
analog signal within the analog circuit (1). The analog circuit (1) is coupled to a test logic (38). The test logic (38) is designed to put the analog circuit (1) into the
normal state and at least a first test state. The analog circuit (1) comprises first components (7, 9, 10, 11, 12, 13, 15, 16, 20, 21, 22, 23, 30) which are designed to carry out a function of the analog circuit (1) in accordance with the predetermined circuit purpose during normal operation. According to the invention, the analog circuit (1) further comprises second components (S1 to S9; Gl to G9) which are designed to enable the test logic (38) to set switching states of the first components (7, 9, 10, 11, 12, 13, 15, 16, 20, 21, 22, 23, 30) in the case of the at least first test state of the analog circuit (1).